Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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);
 
    