Fix up PSU_CONTROL checks

This commit is contained in:
Scott Lahteine
2019-10-22 15:43:37 -05:00
parent 62b875f918
commit af214ff121
11 changed files with 21 additions and 17 deletions

View File

@ -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