diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 929b2f3f3b..531057de3f 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -399,7 +399,7 @@ //#define MKS_PWC // Using the MKS PWC add-on //#define PS_OFF_CONFIRM // Confirm dialog when power off //#define PS_OFF_SOUND // Beep 1s when power off - #define PSU_ACTIVE_STATE LOW // Set 'LOW' for ATX, 'HIGH' for X-Box + #define PSU_ACTIVE_STATE HIGH // Set 'LOW' for ATX, 'HIGH' for X-Box //#define PSU_DEFAULT_OFF // Keep power off until enabled directly with M80 //#define PSU_POWERUP_DELAY 250 // (ms) Delay for the PSU to warm up to full power diff --git a/Marlin/src/feature/power.cpp b/Marlin/src/feature/power.cpp index c003be1363..6fa91b3826 100644 --- a/Marlin/src/feature/power.cpp +++ b/Marlin/src/feature/power.cpp @@ -61,7 +61,7 @@ bool Power::psu_on; #endif #if defined(PS_ON_EDM_PIN) || (defined(PS_ON_EDM_PIN) && ENABLED(PSU_OFF_REDUNDANT)) - static millis_t Power::last_state_change_ms = 0; + millis_t Power::last_state_change_ms = 0; #endif /**