|
|
@ -283,6 +283,13 @@ const uint16_t VPList_FLCPrinting[] PROGMEM = {
|
|
|
|
0x0000
|
|
|
|
0x0000
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const uint16_t VPList_Z_Offset[] PROGMEM = {
|
|
|
|
|
|
|
|
#if HOTENDS >= 1
|
|
|
|
|
|
|
|
VP_SD_Print_ProbeOffsetZ,
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
0x0000
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const struct VPMapping VPMap[] PROGMEM = {
|
|
|
|
const struct VPMapping VPMap[] PROGMEM = {
|
|
|
|
{ DGUSLCD_SCREEN_BOOT, VPList_Boot },
|
|
|
|
{ DGUSLCD_SCREEN_BOOT, VPList_Boot },
|
|
|
|
{ DGUSLCD_SCREEN_MAIN, VPList_Main },
|
|
|
|
{ DGUSLCD_SCREEN_MAIN, VPList_Main },
|
|
|
@ -291,6 +298,7 @@ const struct VPMapping VPMap[] PROGMEM = {
|
|
|
|
{ DGUSLCD_SCREEN_STATUS2, VPList_Status2 },
|
|
|
|
{ DGUSLCD_SCREEN_STATUS2, VPList_Status2 },
|
|
|
|
{ DGUSLCD_SCREEN_PREHEAT, VPList_Preheat },
|
|
|
|
{ DGUSLCD_SCREEN_PREHEAT, VPList_Preheat },
|
|
|
|
{ DGUSLCD_SCREEN_MANUALMOVE, VPList_ManualMove },
|
|
|
|
{ DGUSLCD_SCREEN_MANUALMOVE, VPList_ManualMove },
|
|
|
|
|
|
|
|
{ DGUSLCD_SCREEN_Z_OFFSET, VPList_Z_Offset },
|
|
|
|
{ DGUSLCD_SCREEN_MANUALEXTRUDE, VPList_ManualExtrude },
|
|
|
|
{ DGUSLCD_SCREEN_MANUALEXTRUDE, VPList_ManualExtrude },
|
|
|
|
{ DGUSLCD_SCREEN_FILAMENT_HEATING, VPList_Filament_heating },
|
|
|
|
{ DGUSLCD_SCREEN_FILAMENT_HEATING, VPList_Filament_heating },
|
|
|
|
{ DGUSLCD_SCREEN_FILAMENT_LOADING, VPList_Filament_load_unload },
|
|
|
|
{ DGUSLCD_SCREEN_FILAMENT_LOADING, VPList_Filament_load_unload },
|
|
|
@ -361,7 +369,7 @@ const struct DGUS_VP_Variable ListOfVP[] PROGMEM = {
|
|
|
|
#if HOTENDS >= 1
|
|
|
|
#if HOTENDS >= 1
|
|
|
|
VPHELPER(VP_T_E0_Is, &thermalManager.temp_hotend[0].celsius, nullptr, DGUSScreenVariableHandler::DGUSLCD_SendFloatAsLongValueToDisplay<0>),
|
|
|
|
VPHELPER(VP_T_E0_Is, &thermalManager.temp_hotend[0].celsius, nullptr, DGUSScreenVariableHandler::DGUSLCD_SendFloatAsLongValueToDisplay<0>),
|
|
|
|
VPHELPER(VP_T_E0_Set, &thermalManager.temp_hotend[0].target, DGUSScreenVariableHandler::HandleTemperatureChanged, &DGUSScreenVariableHandler::DGUSLCD_SendWordValueToDisplay),
|
|
|
|
VPHELPER(VP_T_E0_Set, &thermalManager.temp_hotend[0].target, DGUSScreenVariableHandler::HandleTemperatureChanged, &DGUSScreenVariableHandler::DGUSLCD_SendWordValueToDisplay),
|
|
|
|
VPHELPER(VP_Flowrate_E0, nullptr, DGUSScreenVariableHandler::HandleFlowRateChanged, &DGUSScreenVariableHandler::DGUSLCD_SendWordValueToDisplay),
|
|
|
|
VPHELPER(VP_Flowrate_E0, &planner.flow_percentage[ExtUI::extruder_t::E0], DGUSScreenVariableHandler::HandleFlowRateChanged, &DGUSScreenVariableHandler::DGUSLCD_SendWordValueToDisplay),
|
|
|
|
VPHELPER(VP_EPos, &destination.e, nullptr, DGUSScreenVariableHandler::DGUSLCD_SendFloatAsLongValueToDisplay<2>),
|
|
|
|
VPHELPER(VP_EPos, &destination.e, nullptr, DGUSScreenVariableHandler::DGUSLCD_SendFloatAsLongValueToDisplay<2>),
|
|
|
|
VPHELPER(VP_MOVE_E0, nullptr, &DGUSScreenVariableHandler::HandleManualExtrude, nullptr),
|
|
|
|
VPHELPER(VP_MOVE_E0, nullptr, &DGUSScreenVariableHandler::HandleManualExtrude, nullptr),
|
|
|
|
VPHELPER(VP_E0_CONTROL, &thermalManager.temp_hotend[0].target, &DGUSScreenVariableHandler::HandleHeaterControl, nullptr),
|
|
|
|
VPHELPER(VP_E0_CONTROL, &thermalManager.temp_hotend[0].target, &DGUSScreenVariableHandler::HandleHeaterControl, nullptr),
|
|
|
|