Configurable PSU power-on delay (#16050)

This commit is contained in:
Felicia Hummel
2019-11-30 14:17:24 +01:00
committed by Scott Lahteine
parent 27943f9e31
commit 690ed531b6
138 changed files with 411 additions and 274 deletions

View File

@ -330,6 +330,13 @@
#else
#define PSU_NAME "ATX" // ATX style
#endif
#if DISABLED(AUTO_POWER_CONTROL)
#ifndef PSU_POWERUP_DELAY
#define PSU_POWERUP_DELAY 100
#endif
#elif defined(PSU_POWERUP_DELAY)
#error "PSU_POWERUP_DELAY has no effect if AUTO_POWER_CONTROL is enabled."
#endif
#else
#define PSU_NAME "Generic" // No control
#endif