diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 543b3bdb9f..6f4d3ea6e0 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -414,6 +414,15 @@ #define PS_ON1_EDM_PIN P1_17 #define PS_EDM_RESPONSE 1000 // Time in MS to allow for relay action + #define PSU_OFF_REDUNDANT // Second pin for redundant power control + //#define PSU_OFF_REDUNDANT_OPPOSING // Redundant pin works opposite standard pin + #define PS_ON_PIN P4_28 // Redundant Pin + #define PS_ON1_PIN P1_03 // Redundant Pin + + #define PS_ON_EDM_PIN P4_29 // EDM Pins to monitor feedback on external power control relay. Fault on mismatch. + #define PS_ON1_EDM_PIN P1_17 + #define PS_EDM_RESPONSE 1000 // Time in MS to allow for relay action + //#define POWER_OFF_TIMER // Enable M81 D to power off after a delay //#define POWER_OFF_WAIT_FOR_COOLDOWN // Enable M81 S to power off only after cooldown diff --git a/Marlin/src/pins/pins_postprocess.h b/Marlin/src/pins/pins_postprocess.h index 891076b2db..e2db01e27e 100644 --- a/Marlin/src/pins/pins_postprocess.h +++ b/Marlin/src/pins/pins_postprocess.h @@ -477,7 +477,7 @@ #undef PS_ON_PIN #define PS_ON_PIN -1 #endif -#if DISABLED(PSU_OFF_REDUNDANT) || !defined(PS_ON1_PIN) +#if DISABLED(PSU_OFF_REDUNDANT) || DISABLED(PSU_CONTROL) || !defined(PS_ON1_PIN) #undef PS_ON1_PIN #define PS_ON1_PIN -1 #endif