🚸 Wait for cooldown in MarlinUI power-off (#23476)

This commit is contained in:
mistic100
2022-01-08 10:51:21 +01:00
committed by Scott Lahteine
parent d7b7b570c7
commit b435487da7
3 changed files with 7 additions and 5 deletions

View File

@@ -380,7 +380,7 @@ void menu_main() {
GET_TEXT(MSG_SWITCH_PS_OFF), (const char *)nullptr, PSTR("?")
);
#else
GCODES_ITEM(MSG_SWITCH_PS_OFF, PSTR("M81"));
ACTION_ITEM(MSG_SWITCH_PS_OFF, ui.poweroff);
#endif
else
GCODES_ITEM(MSG_SWITCH_PS_ON, PSTR("M80"));