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

This commit is contained in:
mistic100 authored and Scott Lahteine committed 2022-05-07 15:10:28 -05:00
1 parent d7b7b570c7
commit b435487da7
3 files changed
+7 -5

No files matched your search

+1 -1
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"));