Fix up PSU_CONTROL checks
This commit is contained in:
1 parent
62b875f918
commit
af214ff121
11 files changed
+21
-17
No files matched your search
@@ -199,7 +199,7 @@ void menu_main() {
|
||||
//
|
||||
// Switch power on/off
|
||||
//
|
||||
#if HAS_POWER_SWITCH
|
||||
#if ENABLED(PSU_CONTROL)
|
||||
if (powersupply_on)
|
||||
GCODES_ITEM(MSG_SWITCH_PS_OFF, PSTR("M81"));
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user