Skip to content

Commit 865ffcb

Browse files
committed
Merge pull request #3 from spectaclelabs/bugfix-unfiltered-analog-in
Fix NXP unfiltered analog in compile error.
2 parents 1cfac4c + 7fba5ba commit 865ffcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/mbed/vendor/NXP/capi/analogin_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ static inline uint32_t adc_read_u32(analogin_t *obj) {
180180
order(&v1, &v2);
181181
value = v2;
182182
#else
183-
value = adc_read(adc);
183+
value = adc_read(obj);
184184
#endif
185185
return value;
186186
}

0 commit comments

Comments
 (0)