Fix up enqueue now functions
…and apply to MALYAN_LCD.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user