Use native ADC resolution where possible (#15719)

This commit is contained in:
LinFor authored and Scott Lahteine committed 2019-11-06 17:49:17 -06:00
1 parent 9201197878
commit a84e3d1b80
17 files changed
+77 -43

No files matched your search

-1
View File
@@ -217,7 +217,6 @@ typedef struct { int16_t raw_min, raw_max; } raw_range_t;
typedef struct { int16_t mintemp, maxtemp; } celsius_range_t;
typedef struct { int16_t raw_min, raw_max, mintemp, maxtemp; } temp_range_t;
#define THERMISTOR_ADC_RESOLUTION 1024 // 10-bit ADC .. shame to waste 12-bits of resolution on 32-bit
#define THERMISTOR_ABS_ZERO_C -273.15f // bbbbrrrrr cold !
#define THERMISTOR_RESISTANCE_NOMINAL_C 25.0f // mmmmm comfortable