Browse Source

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

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

3
Marlin/Configuration_adv.h

@ -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

3
Marlin/src/config/default/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Anet/A2/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Anet/A6/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Anet/A8/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/ArmEd/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Cartesio/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Einstart-S/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Felix/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/MakerParts/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Mks/Robin/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/RigidBot/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/SCARA/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/TheBorg/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/VORONDesign/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/WASP/PowerWASP/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/delta/generic/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/makibox/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h

@ -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

3
Marlin/src/config/examples/wt150/Configuration_adv.h

@ -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

5
Marlin/src/inc/Conditionals_post.h

@ -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))

23
Marlin/src/module/temperature.cpp

@ -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;

6
Marlin/src/module/temperature.h

@ -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
*/

2
buildroot/share/tests/LPC1768_tests

@ -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…
Cancel
Save