diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-04-20 10:08:17 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-04-20 10:08:17 +0300 |
commit | 844400a39e2f2142cbc3d1428918de0fd25cf0db (patch) | |
tree | de696d0272870932d415f3be8e0af9ef060a4b5d /src/Fans | |
parent | 3db926aa900541ed770a66c99d14e9d13f4fa5f0 (diff) |
Fixed fan settings in resurrect.g
Diffstat (limited to 'src/Fans')
-rw-r--r-- | src/Fans/Fan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fans/Fan.cpp b/src/Fans/Fan.cpp index 9573f0a6..0da37b0f 100644 --- a/src/Fans/Fan.cpp +++ b/src/Fans/Fan.cpp @@ -199,7 +199,7 @@ GCodeResult Fan::SetPwm(float speed, const StringRef& reply) noexcept // Save the settings of this fan if it isn't thermostatic bool Fan::WriteSettings(FileStore *f, size_t fanNum) const noexcept { - if (sensorsMonitored.IsNonEmpty()) + if (sensorsMonitored.IsEmpty()) { String<StringLength20> fanCommand; fanCommand.printf("M106 P%u S%.2f\n", fanNum, (double)val); |