mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #3 from spectaclelabs/bugfix-unfiltered-analog-in
Fix NXP unfiltered analog in compile error.pull/4/head
commit
865ffcb623
|
@ -180,7 +180,7 @@ static inline uint32_t adc_read_u32(analogin_t *obj) {
|
|||
order(&v1, &v2);
|
||||
value = v2;
|
||||
#else
|
||||
value = adc_read(adc);
|
||||
value = adc_read(obj);
|
||||
#endif
|
||||
return value;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue