ARM: rename analog-arm.c to add more ARMs

This commit is contained in:
Nico Tonnhofer 2015-11-21 15:26:57 +01:00
parent 14a4980ea1
commit c3a8b7fd06
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
always compares against Vdd. This is the equivalent of REFERENCE_AVCC on AVR. 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 "cmsis-lpc11xx.h"
#include "arduino.h" #include "arduino.h"
@ -85,4 +85,4 @@ uint16_t analog_read(uint8_t index) {
return result; return result;
} }
#endif /* defined TEACUP_C_INCLUDE && defined __ARMEL__ */ #endif /* defined TEACUP_C_INCLUDE && defined __ARM_LPC1114__ */

View File

@ -35,7 +35,7 @@ static uint8_t adc_channel[NUM_TEMP_SENSORS] = {
#define TEACUP_C_INCLUDE #define TEACUP_C_INCLUDE
#include "analog-avr.c" #include "analog-avr.c"
#include "analog-arm.c" #include "analog-lpc.c"
#undef TEACUP_C_INCLUDE #undef TEACUP_C_INCLUDE
// No common code so far. // No common code so far.