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

This commit is contained in:
Nicolas G authored and Scott Lahteine committed 2019-02-04 00:12:41 -06:00
1 parent ca1be02bf0
commit 6fb4001b58
73 files changed
+238 -5

No files matched your search

+6
View File
@@ -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
*/