Fix DGUS screen bug (#18320)
This commit is contained in:
parent
c81ef492e3
commit
c4b11e03b9
3 changed files with 7 additions and 4 deletions
|
@ -592,7 +592,7 @@ void DGUSScreenVariableHandler::HandleManualExtrude(DGUS_VP_Variable &var, void
|
|||
case VP_MOVE_E0: target_extruder = ExtUI::extruder_t::E0; break;
|
||||
#endif
|
||||
#if HOTENDS >= 2
|
||||
case VP_MOVE_E1: target_extruder = ExtUI::extruder_t::E1; break
|
||||
case VP_MOVE_E1: target_extruder = ExtUI::extruder_t::E1; break;
|
||||
#endif
|
||||
default: return;
|
||||
}
|
||||
|
|
|
@ -387,7 +387,7 @@ const struct DGUS_VP_Variable ListOfVP[] PROGMEM = {
|
|||
#endif
|
||||
#endif
|
||||
#if HOTENDS >= 2
|
||||
VPHELPER(VP_T_E1_Is, &thermalManager.temp_hotend[1].celsius, nullptr, DGUSLCD_SendFloatAsLongValueToDisplay<0>),
|
||||
VPHELPER(VP_T_E1_Is, &thermalManager.temp_hotend[1].celsius, nullptr, DGUSScreenVariableHandler::DGUSLCD_SendFloatAsLongValueToDisplay<0>),
|
||||
VPHELPER(VP_T_E1_Set, &thermalManager.temp_hotend[1].target, DGUSScreenVariableHandler::HandleTemperatureChanged, &DGUSScreenVariableHandler::DGUSLCD_SendWordValueToDisplay),
|
||||
VPHELPER(VP_Flowrate_E1, &planner.flow_percentage[ExtUI::extruder_t::E1], DGUSScreenVariableHandler::HandleFlowRateChanged, &DGUSScreenVariableHandler::DGUSLCD_SendWordValueToDisplay),
|
||||
VPHELPER(VP_MOVE_E1, nullptr, &DGUSScreenVariableHandler::HandleManualExtrude, nullptr),
|
||||
|
|
|
@ -151,7 +151,7 @@ constexpr uint16_t VP_SETTINGS = 0x2400;
|
|||
|
||||
// PID autotune
|
||||
constexpr uint16_t VP_PID_AUTOTUNE_E0 = 0x2410;
|
||||
//constexpr uint16_t VP_PID_AUTOTUNE_E1 = 0x2412;
|
||||
constexpr uint16_t VP_PID_AUTOTUNE_E1 = 0x2412;
|
||||
//constexpr uint16_t VP_PID_AUTOTUNE_E2 = 0x2414;
|
||||
//constexpr uint16_t VP_PID_AUTOTUNE_E3 = 0x2416;
|
||||
//constexpr uint16_t VP_PID_AUTOTUNE_E4 = 0x2418;
|
||||
|
@ -246,7 +246,7 @@ constexpr uint16_t VP_FAN3_STATUS = 0x3306;
|
|||
|
||||
// Heater status
|
||||
constexpr uint16_t VP_E0_STATUS = 0x3310;
|
||||
//constexpr uint16_t VP_E1_STATUS = 0x3312;
|
||||
constexpr uint16_t VP_E1_STATUS = 0x3312;
|
||||
//constexpr uint16_t VP_E2_STATUS = 0x3314;
|
||||
//constexpr uint16_t VP_E3_STATUS = 0x3316;
|
||||
//constexpr uint16_t VP_E4_STATUS = 0x3318;
|
||||
|
@ -273,6 +273,9 @@ constexpr uint16_t VP_E1_STEP_PER_MM = 0x3612;
|
|||
constexpr uint16_t VP_E0_PID_P = 0x3700; // at the moment , 2 byte unsigned int , 0~1638.4
|
||||
constexpr uint16_t VP_E0_PID_I = 0x3702;
|
||||
constexpr uint16_t VP_E0_PID_D = 0x3704;
|
||||
constexpr uint16_t VP_E1_PID_P = 0x3706; // at the moment , 2 byte unsigned int , 0~1638.4
|
||||
constexpr uint16_t VP_E1_PID_I = 0x3708;
|
||||
constexpr uint16_t VP_E1_PID_D = 0x370A;
|
||||
constexpr uint16_t VP_BED_PID_P = 0x3710;
|
||||
constexpr uint16_t VP_BED_PID_I = 0x3712;
|
||||
constexpr uint16_t VP_BED_PID_D = 0x3714;
|
||||
|
|
Reference in a new issue