defines changed from TARGET_LPC1768 to TARGET_LPC176X to support LPC1769 target
Fork of FastAnalogIn by
Diff: FastAnalogIn.h
- Revision:
- 8:68082fdde730
- Parent:
- 7:965a2b0e477f
- Child:
- 9:31184aa1449c
diff -r 965a2b0e477f -r 68082fdde730 FastAnalogIn.h --- a/FastAnalogIn.h Mon Apr 21 10:26:49 2014 +0000 +++ b/FastAnalogIn.h Sat Jun 28 13:01:27 2014 +0000 @@ -7,7 +7,7 @@ #include "mbed.h" #include "pinmap.h" -#if !defined TARGET_LPC1768 && !defined TARGET_KLXX && !defined TARGET_LPC408X +#if !defined TARGET_LPC1768 && !defined TARGET_KLXX && !defined TARGET_LPC408X && !defined TARGET_LPC11UXX #error "Target not supported" #endif @@ -120,7 +120,7 @@ private: bool running; char ADCnumber; - uint32_t *datareg; + volatile uint32_t *datareg; }; #endif