|
|
@ -77,6 +77,12 @@ public: |
|
|
|
*/ |
|
|
|
static void enqueue_one_now(const char* cmd); |
|
|
|
|
|
|
|
/**
|
|
|
|
* Attempt to enqueue a single G-code command |
|
|
|
* and return 'true' if successful. |
|
|
|
*/ |
|
|
|
static bool enqueue_one_P(PGM_P const pgcode); |
|
|
|
|
|
|
|
/**
|
|
|
|
* Enqueue from program memory and return only when commands are actually enqueued |
|
|
|
*/ |
|
|
@ -117,12 +123,6 @@ public: |
|
|
|
*/ |
|
|
|
static void flush_and_request_resend(); |
|
|
|
|
|
|
|
/**
|
|
|
|
* Attempt to enqueue a single G-code command |
|
|
|
* and return 'true' if successful. |
|
|
|
*/ |
|
|
|
FORCE_INLINE static bool enqueue_P(const char* cmd) { return _enqueue(cmd); } |
|
|
|
|
|
|
|
private: |
|
|
|
|
|
|
|
static uint8_t index_w; // Ring buffer write position
|
|
|
|