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

Method get_current_line_number

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

* Get the current line number for the last received command */

Source from the content-addressed store, hash-verified

218 * Get the current line number for the last received command
219 */
220 static long get_current_line_number() { return serial_state[ring_buffer.command_port().index].last_N; }
221
222 #if ENABLED(BUFFER_MONITORING)
223

Callers 1

M110Method · 0.80

Calls 1

command_portMethod · 0.80

Tested by

no test coverage detected