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

Method command_port

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

Source from the content-addressed store, hash-verified

74 CommandLine commands[BUFSIZE]; //!< The ring buffer of commands
75
76 inline serial_index_t command_port() const { return TERN0(HAS_MULTI_SERIAL, commands[index_r].port); }
77
78 inline void clear() { length = index_r = index_w = 0; }
79

Callers 5

M999Method · 0.80
M115Method · 0.80
M28Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected