Formalize some dependencies on PIDTEMPBED
This commit is contained in:
		| @@ -280,10 +280,10 @@ | ||||
| // so you shouldn't use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED) | ||||
| #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current | ||||
|  | ||||
| //#define PID_BED_DEBUG // Sends debug data to the serial port. | ||||
|  | ||||
| #if ENABLED(PIDTEMPBED) | ||||
|  | ||||
|   //#define PID_BED_DEBUG // Sends debug data to the serial port. | ||||
|  | ||||
|   #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER //limit for the integral term | ||||
|  | ||||
|   //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) | ||||
|   | ||||
| @@ -41,10 +41,12 @@ | ||||
| //=============================Thermal Settings  ============================ | ||||
| //=========================================================================== | ||||
|  | ||||
| #if ENABLED(BED_LIMIT_SWITCHING) | ||||
|   #define BED_HYSTERESIS 2 //only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS | ||||
| #if DISABLED(PIDTEMPBED) | ||||
|   #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control | ||||
|   #if ENABLED(BED_LIMIT_SWITCHING) | ||||
|     #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS | ||||
|   #endif | ||||
| #endif | ||||
| #define BED_CHECK_INTERVAL 5000 //ms between checks in bang-bang control | ||||
|  | ||||
| /** | ||||
|  * Thermal Protection protects your printer from damage and fire if a | ||||
|   | ||||
		Reference in New Issue
	
	Block a user