Selaa lähdekoodia

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

Nicolas G 6 vuotta sitten
vanhempi
commit
6fb4001b58
73 muutettua tiedostoa jossa 238 lisäystä ja 5 poistoa
  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 Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/default/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/3DFabXYZ/Migbot/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Anet/A2/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Anet/A6/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Anet/A8/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/AnyCubic/i3/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/ArmEd/Configuration_adv.h Näytä tiedosto

@@ -82,6 +82,9 @@
82 82
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
83 83
 
84 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 90
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Cartesio/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Einstart-S/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Felix/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/FlashForge/CreatorPro/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 2     // Degrees Celsius
79 79
 
80 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 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 Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
79 79
 
80 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 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 Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 10    // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 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 Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 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 Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/MakerParts/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Mks/Robin/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/RigidBot/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/SCARA/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/TheBorg/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/VORONDesign/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h Näytä tiedosto

@@ -88,6 +88,9 @@
88 88
   #define THERMAL_PROTECTION_HYSTERESIS 8     // Degrees Celsius
89 89
 
90 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 96
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/WASP/PowerWASP/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 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 Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 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 Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 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 Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/MKS/SBASE/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 6     // Degrees Celsius
79 79
 
80 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 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 Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 10     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/generic/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 3     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/makibox/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 3
- 0
Marlin/src/config/examples/wt150/Configuration_adv.h Näytä tiedosto

@@ -78,6 +78,9 @@
78 78
   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
79 79
 
80 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 86
    * Whenever an M104, M109, or M303 increases the target temperature, the

+ 4
- 1
Marlin/src/inc/Conditionals_post.h Näytä tiedosto

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

+ 20
- 3
Marlin/src/module/temperature.cpp Näytä tiedosto

@@ -96,6 +96,10 @@ Temperature thermalManager;
96 96
 
97 97
 // public:
98 98
 
99
+#if ENABLED(NO_FAN_SLOWING_IN_PID_TUNING)
100
+  bool Temperature::adaptive_fan_slowing = true;
101
+#endif
102
+
99 103
 float Temperature::current_temperature[HOTENDS]; // = { 0.0 };
100 104
 int16_t Temperature::current_temperature_raw[HOTENDS], // = { 0 }
101 105
         Temperature::target_temperature[HOTENDS]; // = { 0 }
@@ -392,6 +396,10 @@ uint8_t Temperature::soft_pwm_amount[HOTENDS];
392 396
       LEDColor color = ONHEATINGSTART();
393 397
     #endif
394 398
 
399
+    #if ENABLED(NO_FAN_SLOWING_IN_PID_TUNING)
400
+      adaptive_fan_slowing = false;
401
+    #endif
402
+
395 403
     // PID Tuning loop
396 404
     while (wait_for_heatup) {
397 405
 
@@ -570,18 +578,27 @@ uint8_t Temperature::soft_pwm_amount[HOTENDS];
570 578
             _SET_BED_PID();
571 579
           #endif
572 580
         }
581
+
573 582
         #if ENABLED(PRINTER_EVENT_LEDS)
574 583
           printerEventLEDs.onPidTuningDone(color);
575 584
         #endif
576 585
 
577
-        return;
586
+        goto EXIT_M303;
578 587
       }
579 588
       ui.update();
580 589
     }
590
+
581 591
     disable_all_heaters();
592
+
582 593
     #if ENABLED(PRINTER_EVENT_LEDS)
583 594
       printerEventLEDs.onPidTuningDone(color);
584 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 604
 #endif // HAS_PID_HEATING
@@ -1627,8 +1644,8 @@ void Temperature::init() {
1627 1644
       // While the temperature is stable watch for a bad temperature
1628 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 1649
             const int fan_index = MIN(heater_id, FAN_COUNT - 1);
1633 1650
             if (fan_speed[fan_index] == 0 || current >= tr_target_temperature[heater_id] - (hysteresis_degc * 0.25f))
1634 1651
               fan_speed_scaler[fan_index] = 128;

+ 6
- 0
Marlin/src/module/temperature.h Näytä tiedosto

@@ -565,6 +565,12 @@ class Temperature {
565 565
     #if HAS_PID_HEATING
566 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 575
        * Update the temp manager when PID values change
570 576
        */

+ 1
- 1
buildroot/share/tests/LPC1768_tests Näytä tiedosto

@@ -36,7 +36,7 @@ opt_set EXTRUDERS 2
36 36
 opt_set TEMP_SENSOR_0 1
37 37
 opt_set TEMP_SENSOR_1 5
38 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 40
            FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY \
41 41
            FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
42 42
            BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \

Loading…
Peruuta
Tallenna