Browse Source

🚑️ Fix M105 regression (#23505)

Fixes #23504
vanilla_fb_2.0.x^2
ellensp 3 years ago
committed by Scott Lahteine
parent
commit
7135c3b185
  1. 2
      Marlin/src/module/temperature.cpp
  2. 3
      Marlin/src/module/temperature.h

2
Marlin/src/module/temperature.cpp

@ -3591,7 +3591,7 @@ void Temperature::isr() {
OPTARG(HAS_TEMP_REDUNDANT, const bool include_r/*=false*/) OPTARG(HAS_TEMP_REDUNDANT, const bool include_r/*=false*/)
) { ) {
#if HAS_TEMP_HOTEND #if HAS_TEMP_HOTEND
print_heater_state(H_E0, degHotend(target_extruder), degTargetHotend(target_extruder) OPTARG(SHOW_TEMP_ADC_VALUES, rawHotendTemp(target_extruder))); print_heater_state(H_NONE, degHotend(target_extruder), degTargetHotend(target_extruder) OPTARG(SHOW_TEMP_ADC_VALUES, rawHotendTemp(target_extruder)));
#endif #endif
#if HAS_HEATED_BED #if HAS_HEATED_BED
print_heater_state(H_BED, degBed(), degTargetBed() OPTARG(SHOW_TEMP_ADC_VALUES, rawBedTemp())); print_heater_state(H_BED, degBed(), degTargetBed() OPTARG(SHOW_TEMP_ADC_VALUES, rawBedTemp()));

3
Marlin/src/module/temperature.h

@ -56,7 +56,8 @@ typedef enum : int8_t {
H_BOARD = HID_BOARD, H_BOARD = HID_BOARD,
H_CHAMBER = HID_CHAMBER, H_CHAMBER = HID_CHAMBER,
H_BED = HID_BED, H_BED = HID_BED,
H_E0 = HID_E0, H_E1, H_E2, H_E3, H_E4, H_E5, H_E6, H_E7 H_E0 = HID_E0, H_E1, H_E2, H_E3, H_E4, H_E5, H_E6, H_E7,
H_NONE = -128
} heater_id_t; } heater_id_t;
// PID storage // PID storage

Loading…
Cancel
Save