mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC15XX/analogin_api.c
- Revision:
- 217:d0ccc61c1fd4
- Parent:
- 214:b6ec89a903fb
- Child:
- 227:7bd0639b8911
--- a/targets/hal/TARGET_NXP/TARGET_LPC15XX/analogin_api.c Tue May 27 10:00:08 2014 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC15XX/analogin_api.c Tue May 27 13:00:07 2014 +0100 @@ -95,7 +95,7 @@ } static inline uint32_t adc_read(analogin_t *obj) { - volatile uint32_t channels; + uint32_t channels; __IO LPC_ADC0_Type *adc_reg = (obj->adc < ADC1_0) ? (__IO LPC_ADC0_Type*)(LPC_ADC0) : (__IO LPC_ADC0_Type*)(LPC_ADC1);