MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / set_current_line_number

Method set_current_line_number

Marlin/src/gcode/queue.h:215–215  ·  view source on GitHub ↗

* (Re)Set the current line number for the last received command */

Source from the content-addressed store, hash-verified

213 * (Re)Set the current line number for the last received command
214 */
215 static void set_current_line_number(long n) { serial_state[ring_buffer.command_port().index].last_N = n; }
216
217 /**
218 * Get the current line number for the last received command

Callers 1

M110Method · 0.80

Calls 1

command_portMethod · 0.80

Tested by

no test coverage detected