|
@@ -330,7 +330,7 @@ bool axis_homed[XYZ] = { false }, axis_known_position[XYZ] = { false };
|
330
|
330
|
/**
|
331
|
331
|
* GCode line number handling. Hosts may opt to include line numbers when
|
332
|
332
|
* sending commands to Marlin, and lines will be checked for sequentiality.
|
333
|
|
- * M110 S<int> sets the current line number.
|
|
333
|
+ * M110 N<int> sets the current line number.
|
334
|
334
|
*/
|
335
|
335
|
static long gcode_N, gcode_LastN, Stopped_gcode_LastN = 0;
|
336
|
336
|
|
|
@@ -5680,7 +5680,7 @@ inline void gcode_M109() {
|
5680
|
5680
|
* M110: Set Current Line Number
|
5681
|
5681
|
*/
|
5682
|
5682
|
inline void gcode_M110() {
|
5683
|
|
- if (code_seen('N')) gcode_N = code_value_long();
|
|
5683
|
+ if (code_seen('N')) gcode_LastN = code_value_long();
|
5684
|
5684
|
}
|
5685
|
5685
|
|
5686
|
5686
|
/**
|