Define "resolution" in bits
This commit is contained in:
parent
a12b021733
commit
8ad056013c
|
@ -23,8 +23,8 @@
|
|||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
#define THERMISTOR_TABLE_ADC_RESOLUTION 1024
|
||||
#define THERMISTOR_TABLE_SCALE (HAL_ADC_RANGE / (THERMISTOR_TABLE_ADC_RESOLUTION))
|
||||
#define THERMISTOR_TABLE_ADC_RESOLUTION 10
|
||||
#define THERMISTOR_TABLE_SCALE (HAL_ADC_RANGE / _BV(THERMISTOR_TABLE_ADC_RESOLUTION))
|
||||
#if ENABLED(HAL_ADC_FILTERED)
|
||||
#define OVERSAMPLENR 1
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue