Fix FILAMENT_WIDTH_SENSOR infinite loop issue
Addressing #6992 and #5851
This commit is contained in:
parent
a18324bc8d
commit
a9f8e518bf
5 changed files with 15 additions and 15 deletions
|
|
@ -247,7 +247,7 @@ class Temperature {
|
|||
#endif
|
||||
|
||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||
static int16_t meas_shift_index; // Index of a delayed sample in buffer
|
||||
static int8_t meas_shift_index; // Index of a delayed sample in buffer
|
||||
#endif
|
||||
|
||||
#if HAS_AUTO_FAN
|
||||
|
|
@ -255,7 +255,7 @@ class Temperature {
|
|||
#endif
|
||||
|
||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||
static int current_raw_filwidth; //Holds measured filament diameter - one extruder only
|
||||
static uint16_t current_raw_filwidth; // Measured filament diameter - one extruder only
|
||||
#endif
|
||||
|
||||
#if ENABLED(PROBING_HEATERS_OFF)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue