ARM: rename analog-arm.c to add more ARMs
This commit is contained in:
parent
14a4980ea1
commit
c3a8b7fd06
|
|
@ -11,7 +11,7 @@
|
|||
always compares against Vdd. This is the equivalent of REFERENCE_AVCC on AVR.
|
||||
*/
|
||||
|
||||
#if defined TEACUP_C_INCLUDE && defined __ARMEL__
|
||||
#if defined TEACUP_C_INCLUDE && defined __ARM_LPC1114__
|
||||
|
||||
#include "cmsis-lpc11xx.h"
|
||||
#include "arduino.h"
|
||||
|
|
@ -85,4 +85,4 @@ uint16_t analog_read(uint8_t index) {
|
|||
return result;
|
||||
}
|
||||
|
||||
#endif /* defined TEACUP_C_INCLUDE && defined __ARMEL__ */
|
||||
#endif /* defined TEACUP_C_INCLUDE && defined __ARM_LPC1114__ */
|
||||
Loading…
Reference in New Issue