Browse Source

Define "resolution" in bits

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
8ad056013c
  1. 4
      Marlin/src/module/thermistor/thermistors.h

4
Marlin/src/module/thermistor/thermistors.h

@ -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…
Cancel
Save