diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-01-14 14:24:45 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-01-14 14:24:45 +0300 |
commit | 2ec108b04280b88d9d86c78f100bde962065d461 (patch) | |
tree | 903bb6b0d5574205347a71f7f077813b52ccc05e /src/Fans/LocalFan.cpp | |
parent | fe3da689f56b80d200d5e29056140103b7172b38 (diff) |
Added apiLevel to rr_connect response
Also added firmwareVersion property to Board object
Minor changes to Fans code
Diffstat (limited to 'src/Fans/LocalFan.cpp')
-rw-r--r-- | src/Fans/LocalFan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fans/LocalFan.cpp b/src/Fans/LocalFan.cpp index 460d4aec..2847965b 100644 --- a/src/Fans/LocalFan.cpp +++ b/src/Fans/LocalFan.cpp @@ -84,7 +84,7 @@ void LocalFan::InternalRefresh() noexcept SensorsBitmap copySensorsMonitored = sensorsMonitored; while (copySensorsMonitored != 0) { - unsigned int sensorNum = LowestSetBit(copySensorsMonitored); + const unsigned int sensorNum = LowestSetBit(copySensorsMonitored); ClearBit(copySensorsMonitored, sensorNum); const auto sensor = reprap.GetHeat().FindSensor(sensorNum); if (sensor.IsNotNull()) |