mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/analogin_api.c
- Revision:
- 267:8673334f2cbe
- Parent:
- 265:9632ea190e16
--- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/analogin_api.c Thu Jul 24 12:00:06 2014 +0100 +++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/analogin_api.c Tue Jul 29 18:45:06 2014 +0100 @@ -16,6 +16,8 @@ #include "mbed_assert.h" #include "analogin_api.h" +#if DEVICE_ANALOGIN + #include "cmsis.h" #include "pinmap.h" #include "PeripheralNames.h" @@ -70,3 +72,4 @@ return (float)value * (1.0f / (float)0xFFFF); } +#endif