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

View File

@ -416,6 +416,8 @@
#error "BABYSTEP_MULTIPLICATOR is now BABYSTEP_MULTIPLICATOR_[XY|Z]. Please update Configuration_adv.h."
#elif defined(LULZBOT_TOUCH_UI)
#error "LULZBOT_TOUCH_UI is now TOUCH_UI_FTDI_EVE. Please update your configuration."
#elif defined(PS_DEFAULT_OFF)
#error "PS_DEFAULT_OFF is now PSU_DEFAULT_OFF. Please update your configuration."
#endif
#define BOARD_MKS_13 -1000