[2.0.x] Enable / disable PSU automatically (#9503)
This commit is contained in:
1 parent
db1ace5e82
commit
b5e92f4f90
61 files changed
+664
-4
No files matched your search
@@ -236,9 +236,9 @@ void setup_powerhold() {
|
||||
#endif
|
||||
#if HAS_POWER_SWITCH
|
||||
#if ENABLED(PS_DEFAULT_OFF)
|
||||
OUT_WRITE(PS_ON_PIN, PS_ON_ASLEEP);
|
||||
PSU_OFF();
|
||||
#else
|
||||
OUT_WRITE(PS_ON_PIN, PS_ON_AWAKE);
|
||||
PSU_ON();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user