Fix up enqueue now functions
…and apply to MALYAN_LCD.
This commit is contained in:
parent
23635c2b64
commit
78ea4871f9
4 changed files with 12 additions and 12 deletions
|
@ -176,14 +176,14 @@ void enqueue_and_echo_commands_P(const char * const pgcode) {
|
|||
/**
|
||||
* Enqueue and return only when commands are actually enqueued
|
||||
*/
|
||||
void enqueue_and_echo_command_now(const char* cmd, bool say_ok/*=false*/) {
|
||||
while (!enqueue_and_echo_command(cmd, say_ok)) idle();
|
||||
void enqueue_and_echo_command_now(const char* cmd) {
|
||||
while (!enqueue_and_echo_command(cmd)) idle();
|
||||
}
|
||||
#if HAS_LCD_QUEUE_NOW
|
||||
/**
|
||||
* Enqueue from program memory and return only when commands are actually enqueued
|
||||
*/
|
||||
void enqueue_and_echo_commands_P_now(const char * const pgcode) {
|
||||
void enqueue_and_echo_commands_now_P(const char * const pgcode) {
|
||||
enqueue_and_echo_commands_P(pgcode);
|
||||
while (drain_injected_commands_P()) idle();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue