Define "resolution" in bits

This commit is contained in:
Scott Lahteine 2020-04-17 22:33:15 -05:00
parent a12b021733
commit 8ad056013c

View File

@ -23,8 +23,8 @@
#include "../../inc/MarlinConfig.h" #include "../../inc/MarlinConfig.h"
#define THERMISTOR_TABLE_ADC_RESOLUTION 1024 #define THERMISTOR_TABLE_ADC_RESOLUTION 10
#define THERMISTOR_TABLE_SCALE (HAL_ADC_RANGE / (THERMISTOR_TABLE_ADC_RESOLUTION)) #define THERMISTOR_TABLE_SCALE (HAL_ADC_RANGE / _BV(THERMISTOR_TABLE_ADC_RESOLUTION))
#if ENABLED(HAL_ADC_FILTERED) #if ENABLED(HAL_ADC_FILTERED)
#define OVERSAMPLENR 1 #define OVERSAMPLENR 1
#else #else