Browse Source

Add option to disable fan speed slowing in M303 (#13066)

Nicolas G 6 years ago
parent
commit
6fb4001b58
73 changed files with 238 additions and 5 deletions
  1. 3
    0
      Marlin/Configuration_adv.h
  2. 3
    0
      Marlin/src/config/default/Configuration_adv.h
  3. 3
    0
      Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  4. 3
    0
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  5. 3
    0
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  6. 3
    0
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  7. 3
    0
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  8. 3
    0
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  9. 3
    0
      Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h
  10. 3
    0
      Marlin/src/config/examples/ArmEd/Configuration_adv.h
  11. 3
    0
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  12. 3
    0
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  13. 3
    0
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  14. 3
    0
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  15. 3
    0
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  16. 3
    0
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  17. 3
    0
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  18. 3
    0
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  19. 3
    0
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  20. 3
    0
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  21. 3
    0
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  22. 3
    0
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  23. 3
    0
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  24. 3
    0
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  25. 3
    0
      Marlin/src/config/examples/Felix/Configuration_adv.h
  26. 3
    0
      Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h
  27. 3
    0
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  28. 3
    0
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  29. 3
    0
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  30. 3
    0
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  31. 3
    0
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  32. 3
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  33. 3
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  34. 3
    0
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  35. 3
    0
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  36. 3
    0
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  37. 3
    0
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  38. 3
    0
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  39. 3
    0
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  40. 3
    0
      Marlin/src/config/examples/Mks/Robin/Configuration_adv.h
  41. 3
    0
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  42. 3
    0
      Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h
  43. 3
    0
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  44. 3
    0
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  45. 3
    0
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  46. 3
    0
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  47. 3
    0
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  48. 3
    0
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  49. 3
    0
      Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h
  50. 3
    0
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  51. 3
    0
      Marlin/src/config/examples/VORONDesign/Configuration_adv.h
  52. 3
    0
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  53. 3
    0
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  54. 3
    0
      Marlin/src/config/examples/WASP/PowerWASP/Configuration_adv.h
  55. 3
    0
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  56. 3
    0
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  57. 3
    0
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  58. 3
    0
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  59. 3
    0
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  60. 3
    0
      Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  61. 3
    0
      Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h
  62. 3
    0
      Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h
  63. 3
    0
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  64. 3
    0
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  65. 3
    0
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  66. 3
    0
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  67. 3
    0
      Marlin/src/config/examples/makibox/Configuration_adv.h
  68. 3
    0
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  69. 3
    0
      Marlin/src/config/examples/wt150/Configuration_adv.h
  70. 4
    1
      Marlin/src/inc/Conditionals_post.h
  71. 20
    3
      Marlin/src/module/temperature.cpp
  72. 6
    0
      Marlin/src/module/temperature.h
  73. 1
    1
      buildroot/share/tests/LPC1768_tests

+ 3
- 0
Marlin/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/default/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Anet/A2/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/ArmEd/Configuration_adv.h View File

82
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
82
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
83
 
83
 
84
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
84
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
85
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
86
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
87
+  #endif
85
 
88
 
86
   /**
89
   /**
87
    * Whenever an M104, M109, or M303 increases the target temperature, the
90
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Einstart-S/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Felix/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/MakerParts/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Mks/Robin/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/TheBorg/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/VORONDesign/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h View File

88
   #define THERMAL_PROTECTION_HYSTERESIS 8     // Degrees Celsius
88
   #define THERMAL_PROTECTION_HYSTERESIS 8     // Degrees Celsius
89
 
89
 
90
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
90
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
91
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
92
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
93
+  #endif
91
 
94
 
92
   /**
95
   /**
93
    * Whenever an M104, M109, or M303 increases the target temperature, the
96
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/WASP/PowerWASP/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 10     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 10     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/generic/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 3     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 3     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/makibox/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/wt150/Configuration_adv.h View File

78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79
 
79
 
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
80
   //#define ADAPTIVE_FAN_SLOWING              // Slow part cooling fan if temperature drops
81
+  #if ENABLED(ADAPTIVE_FAN_SLOWING) && ENABLED(PIDTEMP)
82
+    //#define NO_FAN_SLOWING_IN_PID_TUNING    // Don't slow fan speed during M303
83
+  #endif
81
 
84
 
82
   /**
85
   /**
83
    * Whenever an M104, M109, or M303 increases the target temperature, the
86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 4
- 1
Marlin/src/inc/Conditionals_post.h View File

1260
 #endif
1260
 #endif
1261
 
1261
 
1262
 /**
1262
 /**
1263
- * Heater & Fan Pausing
1263
+ * Heater, Fan, and Probe interactions
1264
  */
1264
  */
1265
 #if FAN_COUNT == 0
1265
 #if FAN_COUNT == 0
1266
   #undef PROBING_FANS_OFF
1266
   #undef PROBING_FANS_OFF
1267
+  #undef ADAPTIVE_FAN_SLOWING
1268
+  #undef NO_FAN_SLOWING_IN_PID_TUNING
1267
 #endif
1269
 #endif
1270
+
1268
 #define QUIET_PROBING (HAS_BED_PROBE && (ENABLED(PROBING_HEATERS_OFF) || ENABLED(PROBING_FANS_OFF) || DELAY_BEFORE_PROBING > 0))
1271
 #define QUIET_PROBING (HAS_BED_PROBE && (ENABLED(PROBING_HEATERS_OFF) || ENABLED(PROBING_FANS_OFF) || DELAY_BEFORE_PROBING > 0))
1269
 #define HEATER_IDLE_HANDLER (ENABLED(ADVANCED_PAUSE_FEATURE) || ENABLED(PROBING_HEATERS_OFF))
1272
 #define HEATER_IDLE_HANDLER (ENABLED(ADVANCED_PAUSE_FEATURE) || ENABLED(PROBING_HEATERS_OFF))
1270
 
1273
 

+ 20
- 3
Marlin/src/module/temperature.cpp View File

96
 
96
 
97
 // public:
97
 // public:
98
 
98
 
99
+#if ENABLED(NO_FAN_SLOWING_IN_PID_TUNING)
100
+  bool Temperature::adaptive_fan_slowing = true;
101
+#endif
102
+
99
 float Temperature::current_temperature[HOTENDS]; // = { 0.0 };
103
 float Temperature::current_temperature[HOTENDS]; // = { 0.0 };
100
 int16_t Temperature::current_temperature_raw[HOTENDS], // = { 0 }
104
 int16_t Temperature::current_temperature_raw[HOTENDS], // = { 0 }
101
         Temperature::target_temperature[HOTENDS]; // = { 0 }
105
         Temperature::target_temperature[HOTENDS]; // = { 0 }
392
       LEDColor color = ONHEATINGSTART();
396
       LEDColor color = ONHEATINGSTART();
393
     #endif
397
     #endif
394
 
398
 
399
+    #if ENABLED(NO_FAN_SLOWING_IN_PID_TUNING)
400
+      adaptive_fan_slowing = false;
401
+    #endif
402
+
395
     // PID Tuning loop
403
     // PID Tuning loop
396
     while (wait_for_heatup) {
404
     while (wait_for_heatup) {
397
 
405
 
570
             _SET_BED_PID();
578
             _SET_BED_PID();
571
           #endif
579
           #endif
572
         }
580
         }
581
+
573
         #if ENABLED(PRINTER_EVENT_LEDS)
582
         #if ENABLED(PRINTER_EVENT_LEDS)
574
           printerEventLEDs.onPidTuningDone(color);
583
           printerEventLEDs.onPidTuningDone(color);
575
         #endif
584
         #endif
576
 
585
 
577
-        return;
586
+        goto EXIT_M303;
578
       }
587
       }
579
       ui.update();
588
       ui.update();
580
     }
589
     }
590
+
581
     disable_all_heaters();
591
     disable_all_heaters();
592
+
582
     #if ENABLED(PRINTER_EVENT_LEDS)
593
     #if ENABLED(PRINTER_EVENT_LEDS)
583
       printerEventLEDs.onPidTuningDone(color);
594
       printerEventLEDs.onPidTuningDone(color);
584
     #endif
595
     #endif
596
+
597
+    EXIT_M303:
598
+      #if ENABLED(NO_FAN_SLOWING_IN_PID_TUNING)
599
+        adaptive_fan_slowing = true;
600
+      #endif
601
+      return;
585
   }
602
   }
586
 
603
 
587
 #endif // HAS_PID_HEATING
604
 #endif // HAS_PID_HEATING
1627
       // While the temperature is stable watch for a bad temperature
1644
       // While the temperature is stable watch for a bad temperature
1628
       case TRStable:
1645
       case TRStable:
1629
 
1646
 
1630
-        #if ENABLED(ADAPTIVE_FAN_SLOWING) && FAN_COUNT > 0
1631
-          if (heater_id >= 0) {
1647
+        #if ENABLED(ADAPTIVE_FAN_SLOWING)
1648
+          if (adaptive_fan_slowing && heater_id >= 0) {
1632
             const int fan_index = MIN(heater_id, FAN_COUNT - 1);
1649
             const int fan_index = MIN(heater_id, FAN_COUNT - 1);
1633
             if (fan_speed[fan_index] == 0 || current >= tr_target_temperature[heater_id] - (hysteresis_degc * 0.25f))
1650
             if (fan_speed[fan_index] == 0 || current >= tr_target_temperature[heater_id] - (hysteresis_degc * 0.25f))
1634
               fan_speed_scaler[fan_index] = 128;
1651
               fan_speed_scaler[fan_index] = 128;

+ 6
- 0
Marlin/src/module/temperature.h View File

565
     #if HAS_PID_HEATING
565
     #if HAS_PID_HEATING
566
       static void PID_autotune(const float &target, const int8_t hotend, const int8_t ncycles, const bool set_result=false);
566
       static void PID_autotune(const float &target, const int8_t hotend, const int8_t ncycles, const bool set_result=false);
567
 
567
 
568
+      #if ENABLED(NO_FAN_SLOWING_IN_PID_TUNING)
569
+        static bool adaptive_fan_slowing;
570
+      #elif ENABLED(ADAPTIVE_FAN_SLOWING)
571
+        constexpr static bool adaptive_fan_slowing = true;
572
+      #endif
573
+
568
       /**
574
       /**
569
        * Update the temp manager when PID values change
575
        * Update the temp manager when PID values change
570
        */
576
        */

+ 1
- 1
buildroot/share/tests/LPC1768_tests View File

36
 opt_set TEMP_SENSOR_0 1
36
 opt_set TEMP_SENSOR_0 1
37
 opt_set TEMP_SENSOR_1 5
37
 opt_set TEMP_SENSOR_1 5
38
 opt_set TEMP_SENSOR_BED 1
38
 opt_set TEMP_SENSOR_BED 1
39
-opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT ADAPTIVE_FAN_SLOWING \
39
+opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT ADAPTIVE_FAN_SLOWING NO_FAN_SLOWING_IN_PID_TUNING \
40
            FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY \
40
            FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY \
41
            FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
41
            FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
42
            BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \
42
            BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \

Loading…
Cancel
Save