[fix] remove repeated adc_rtot function
This commit is contained in:
parent
23c8d51951
commit
6276df31cc
@ -184,7 +184,6 @@ void adc_loop(void)
|
|||||||
#else
|
#else
|
||||||
value = adc_rtot(val);
|
value = adc_rtot(val);
|
||||||
#endif
|
#endif
|
||||||
value = adc_rtot(val);
|
|
||||||
debug_write_data(24 + ch, (float)value);
|
debug_write_data(24 + ch, (float)value);
|
||||||
device_data.detector_temperature = value;
|
device_data.detector_temperature = value;
|
||||||
ch = 1;
|
ch = 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user