Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-10-24 12:42:47 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-10-24 12:42:47 +0300
commitdc81816404bff70668f6c769b02a7ecb9208d989 (patch)
treee74f76f9e1ee05dd2fe5b25a1d69c7f5ef3a6299 /src/GCodes/GCodeBuffer/GCodeBuffer.h
parenta1991e80c388f78194db12a611121ab814bac67f (diff)
Got rid of some code analysis and compiler warnings
Diffstat (limited to 'src/GCodes/GCodeBuffer/GCodeBuffer.h')
-rw-r--r--src/GCodes/GCodeBuffer/GCodeBuffer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/GCodes/GCodeBuffer/GCodeBuffer.h b/src/GCodes/GCodeBuffer/GCodeBuffer.h
index 4b37981a..9933e31b 100644
--- a/src/GCodes/GCodeBuffer/GCodeBuffer.h
+++ b/src/GCodes/GCodeBuffer/GCodeBuffer.h
@@ -240,6 +240,8 @@ private:
GCodeMachineState *machineState; // Machine state for this gcode source
uint32_t whenTimerStarted; // When we started waiting
+ uint32_t whenReportDueTimerStarted; // When the report-due-timer has been started
+ static constexpr uint32_t reportDueInterval = 1000; // Interval in which we send in ms
#if HAS_LINUX_INTERFACE
bool isBinaryBuffer;
@@ -247,9 +249,6 @@ private:
bool timerRunning; // True if we are waiting
bool motionCommanded; // true if this GCode stream has commanded motion since it last waited for motion to stop
- uint32_t whenReportDueTimerStarted; // When the report-due-timer has been started
- static constexpr uint32_t reportDueInterval = 1000; // Interval in which we send in ms
-
#if HAS_LINUX_INTERFACE
alignas(4) char buffer[MaxCodeBufferSize]; // must be aligned because we do dword fetches from it
#else