[2.0.x] Enable / disable PSU automatically (#9503)

This commit is contained in:
Scott Lahteine
2018-02-06 00:22:30 -06:00
committed by GitHub
parent db1ace5e82
commit b5e92f4f90
61 changed files with 664 additions and 4 deletions

View File

@ -250,6 +250,15 @@
// Enable this option to leave the PSU off at startup.
// Power to steppers and heaters will need to be turned on with M80.
//#define PS_DEFAULT_OFF
//#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
#if ENABLED(AUTO_POWER_CONTROL)
#define AUTO_POWER_FANS // Turn on PSU if fans need power
#define AUTO_POWER_E_FANS
#define AUTO_POWER_CONTROLLERFAN
#define POWER_TIMEOUT 30
#endif
#endif
// @section temperature