🧑💻 Remove extraneous 'inline' hints
This commit is contained in:
@@ -126,14 +126,14 @@ public:
|
||||
* Don't inject comments or use leading spaces!
|
||||
* Aborts the current PROGMEM queue so only use for one or two commands.
|
||||
*/
|
||||
static inline void inject_P(PGM_P const pgcode) { injected_commands_P = pgcode; }
|
||||
static inline void inject(FSTR_P const fgcode) { inject_P(FTOP(fgcode)); }
|
||||
static void inject_P(PGM_P const pgcode) { injected_commands_P = pgcode; }
|
||||
static void inject(FSTR_P const fgcode) { inject_P(FTOP(fgcode)); }
|
||||
|
||||
/**
|
||||
* Enqueue command(s) to run from SRAM. Drained by process_injected_command().
|
||||
* Aborts the current SRAM queue so only use for one or two commands.
|
||||
*/
|
||||
static inline void inject(const char * const gcode) {
|
||||
static void inject(const char * const gcode) {
|
||||
strncpy(injected_commands, gcode, sizeof(injected_commands) - 1);
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ public:
|
||||
* Enqueue from program memory and return only when commands are actually enqueued
|
||||
*/
|
||||
static void enqueue_now_P(PGM_P const pcmd);
|
||||
static inline void enqueue_now(FSTR_P const fcmd) { enqueue_now_P(FTOP(fcmd)); }
|
||||
static void enqueue_now(FSTR_P const fcmd) { enqueue_now_P(FTOP(fcmd)); }
|
||||
|
||||
/**
|
||||
* Check whether there are any commands yet to be executed
|
||||
@@ -192,7 +192,7 @@ public:
|
||||
* P<int> Planner space remaining
|
||||
* B<int> Block queue space remaining
|
||||
*/
|
||||
static inline void ok_to_send() { ring_buffer.ok_to_send(); }
|
||||
static void ok_to_send() { ring_buffer.ok_to_send(); }
|
||||
|
||||
/**
|
||||
* Clear the serial line and request a resend of
|
||||
@@ -203,7 +203,7 @@ public:
|
||||
/**
|
||||
* (Re)Set the current line number for the last received command
|
||||
*/
|
||||
static inline void set_current_line_number(long n) { serial_state[ring_buffer.command_port().index].last_N = n; }
|
||||
static void set_current_line_number(long n) { serial_state[ring_buffer.command_port().index].last_N = n; }
|
||||
|
||||
#if ENABLED(BUFFER_MONITORING)
|
||||
|
||||
@@ -237,7 +237,7 @@ public:
|
||||
|
||||
static void auto_report_buffer_statistics();
|
||||
|
||||
static inline void set_auto_report_interval(uint8_t v) {
|
||||
static void set_auto_report_interval(uint8_t v) {
|
||||
NOMORE(v, 60);
|
||||
auto_buffer_report_interval = v;
|
||||
next_buffer_report_ms = millis() + 1000UL * v;
|
||||
|
||||
Reference in New Issue
Block a user