Update Configuration.h

This commit is contained in:
InsanityAutomation
2020-10-26 10:44:44 -04:00
parent 63821d87f9
commit 6f5430f00a
+12 -2
View File
@@ -208,6 +208,7 @@
Enclosure Controls Enclosure Controls
*/ */
//#define EnclosureLight // Uses 5vdc LED's hooked to D12 //#define EnclosureLight // Uses 5vdc LED's hooked to D12
//#define PowerShutoffKit // 5vdc relay to interupt all heater power on D12, assumes NO relay.
//#define EnclosureTempSensor // Uses PT100 Probe hooked to A12, only partially implemented upstream //#define EnclosureTempSensor // Uses PT100 Probe hooked to A12, only partially implemented upstream
//#define EnclosureHeater //Planned to use A11 to control heater upstream, and repurpose the unused y max as the fan output. Not yet fully implemented upstream //#define EnclosureHeater //Planned to use A11 to control heater upstream, and repurpose the unused y max as the fan output. Not yet fully implemented upstream
@@ -308,6 +309,10 @@
#endif #endif
#endif #endif
#if BOTH(PowerShutoffKit, EnclosureLight)
#undef EnclosureLight
#endif
#if ENABLED(SKRMiniE3V2) #if ENABLED(SKRMiniE3V2)
#define SKR_2209 #define SKR_2209
#define SKR_UART #define SKR_UART
@@ -776,13 +781,18 @@
* Enable and connect the power supply to the PS_ON_PIN. * Enable and connect the power supply to the PS_ON_PIN.
* Specify whether the power supply is active HIGH or active LOW. * Specify whether the power supply is active HIGH or active LOW.
*/ */
#if ENABLED(MachineCR2020) #if EITHER(MachineCR2020, PowerShutoffKit)
#define PSU_CONTROL #define PSU_CONTROL
#endif #endif
//#define PSU_NAME "Power Supply" //#define PSU_NAME "Power Supply"
#if ENABLED(PSU_CONTROL) #if ENABLED(PSU_CONTROL)
#define PSU_ACTIVE_STATE LOW // Set 'LOW' for ATX, 'HIGH' for X-Box #if ENABLED(PowerShutoffKit)
#define PS_ON_PIN 12
#define PSU_ACTIVE_STATE HIGH
#else
#define PSU_ACTIVE_STATE LOW // Set 'LOW' for ATX, 'HIGH' for X-Box
#endif
//#define PSU_DEFAULT_OFF // Keep power off until enabled directly with M80 //#define PSU_DEFAULT_OFF // Keep power off until enabled directly with M80
//#define PSU_POWERUP_DELAY 250 // (ms) Delay for the PSU to warm up to full power //#define PSU_POWERUP_DELAY 250 // (ms) Delay for the PSU to warm up to full power