Remove unused queue.stopped_N (#16850)

This commit is contained in:
Robby Candra authored and GitHub committed 2020-02-13 18:59:32 -06:00
1 parent 082117c4bb
commit af84e362cc
3 files changed
+2 -5

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ GCodeQueue queue;
* sending commands to Marlin, and lines will be checked for sequentiality.
* M110 N<int> sets the current line number.
*/
long gcode_N, GCodeQueue::last_N, GCodeQueue::stopped_N = 0;
long gcode_N, GCodeQueue::last_N;
/**
* GCode Command Queue
+1 -3
View File
@@ -35,9 +35,7 @@ public:
* commands to Marlin, and lines will be checked for sequentiality.
* M110 N<int> sets the current line number.
*/
static long last_N, stopped_N;
static inline void stop() { stopped_N = last_N; }
static long last_N;
/**
* GCode Command Queue