Add fix for non-compiling analog in C API when median filtering is disabled.

pull/3/head
Joe Turner 2013-04-24 09:52:45 +01:00
parent 1cfac4cec4
commit 7fba5bae39
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}