Add option to disable fan speed slowing in M303 (#13066)
This commit is contained in:
		
							parent
							
								
									ca1be02bf0
								
							
						
					
					
						commit
						6fb4001b58
					
				| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -82,6 +82,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -88,6 +88,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 8     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 10     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 3     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -78,6 +78,9 @@ | ||||
|   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
 | ||||
| 
 | ||||
|   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
 | ||||
|   #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP) | ||||
|     //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
 | ||||
|   #endif | ||||
| 
 | ||||
|   /**
 | ||||
|    * Whenever an M104, M109, or M303 increases the target temperature, the | ||||
|  | ||||
| @ -1260,11 +1260,14 @@ | ||||
| #endif | ||||
| 
 | ||||
| /**
 | ||||
|  * Heater & Fan Pausing | ||||
|  * Heater, Fan, and Probe interactions | ||||
|  */ | ||||
| #if FAN_COUNT == 0 | ||||
|   #undef PROBING_FANS_OFF | ||||
|   #undef ADAPTIVE_FAN_SLOWING | ||||
|   #undef NO_FAN_SLOWING_IN_PID_TUNING | ||||
| #endif | ||||
| 
 | ||||
| #define QUIET_PROBING (HAS_BED_PROBE && (ENABLED(PROBING_HEATERS_OFF) || ENABLED(PROBING_FANS_OFF) || DELAY_BEFORE_PROBING > 0)) | ||||
| #define HEATER_IDLE_HANDLER (ENABLED(ADVANCED_PAUSE_FEATURE) || ENABLED(PROBING_HEATERS_OFF)) | ||||
| 
 | ||||
|  | ||||
| @ -96,6 +96,10 @@ Temperature thermalManager; | ||||
| 
 | ||||
| // public:
 | ||||
| 
 | ||||
| #if ENABLED(NO_FAN_SLOWING_IN_PID_TUNING) | ||||
|   bool Temperature::adaptive_fan_slowing = true; | ||||
| #endif | ||||
| 
 | ||||
| float Temperature::current_temperature[HOTENDS]; // = { 0.0 };
 | ||||
| int16_t Temperature::current_temperature_raw[HOTENDS], // = { 0 }
 | ||||
|         Temperature::target_temperature[HOTENDS]; // = { 0 }
 | ||||
| @ -392,6 +396,10 @@ uint8_t Temperature::soft_pwm_amount[HOTENDS]; | ||||
|       LEDColor color = ONHEATINGSTART(); | ||||
|     #endif | ||||
| 
 | ||||
|     #if ENABLED(NO_FAN_SLOWING_IN_PID_TUNING) | ||||
|       adaptive_fan_slowing = false; | ||||
|     #endif | ||||
| 
 | ||||
|     // PID Tuning loop
 | ||||
|     while (wait_for_heatup) { | ||||
| 
 | ||||
| @ -570,18 +578,27 @@ uint8_t Temperature::soft_pwm_amount[HOTENDS]; | ||||
|             _SET_BED_PID(); | ||||
|           #endif | ||||
|         } | ||||
| 
 | ||||
|         #if ENABLED(PRINTER_EVENT_LEDS) | ||||
|           printerEventLEDs.onPidTuningDone(color); | ||||
|         #endif | ||||
| 
 | ||||
|         return; | ||||
|         goto EXIT_M303; | ||||
|       } | ||||
|       ui.update(); | ||||
|     } | ||||
| 
 | ||||
|     disable_all_heaters(); | ||||
| 
 | ||||
|     #if ENABLED(PRINTER_EVENT_LEDS) | ||||
|       printerEventLEDs.onPidTuningDone(color); | ||||
|     #endif | ||||
| 
 | ||||
|     EXIT_M303: | ||||
|       #if ENABLED(NO_FAN_SLOWING_IN_PID_TUNING) | ||||
|         adaptive_fan_slowing = true; | ||||
|       #endif | ||||
|       return; | ||||
|   } | ||||
| 
 | ||||
| #endif // HAS_PID_HEATING
 | ||||
| @ -1627,8 +1644,8 @@ void Temperature::init() { | ||||
|       // While the temperature is stable watch for a bad temperature
 | ||||
|       case TRStable: | ||||
| 
 | ||||
|         #if ENABLED(ADAPTIVE_FAN_SLOWING) && FAN_COUNT > 0 | ||||
|           if (heater_id >= 0) { | ||||
|         #if ENABLED(ADAPTIVE_FAN_SLOWING) | ||||
|           if (adaptive_fan_slowing && heater_id >= 0) { | ||||
|             const int fan_index = MIN(heater_id, FAN_COUNT - 1); | ||||
|             if (fan_speed[fan_index] == 0 || current >= tr_target_temperature[heater_id] - (hysteresis_degc * 0.25f)) | ||||
|               fan_speed_scaler[fan_index] = 128; | ||||
|  | ||||
| @ -565,6 +565,12 @@ class Temperature { | ||||
|     #if HAS_PID_HEATING | ||||
|       static void PID_autotune(const float &target, const int8_t hotend, const int8_t ncycles, const bool set_result=false); | ||||
| 
 | ||||
|       #if ENABLED(NO_FAN_SLOWING_IN_PID_TUNING) | ||||
|         static bool adaptive_fan_slowing; | ||||
|       #elif ENABLED(ADAPTIVE_FAN_SLOWING) | ||||
|         constexpr static bool adaptive_fan_slowing = true; | ||||
|       #endif | ||||
| 
 | ||||
|       /**
 | ||||
|        * Update the temp manager when PID values change | ||||
|        */ | ||||
|  | ||||
| @ -36,7 +36,7 @@ opt_set EXTRUDERS 2 | ||||
| opt_set TEMP_SENSOR_0 1 | ||||
| opt_set TEMP_SENSOR_1 5 | ||||
| opt_set TEMP_SENSOR_BED 1 | ||||
| opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT ADAPTIVE_FAN_SLOWING \ | ||||
| opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT ADAPTIVE_FAN_SLOWING NO_FAN_SLOWING_IN_PID_TUNING \ | ||||
|            FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY \ | ||||
|            FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \ | ||||
|            BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user