Use PGM_P for PSTR pointers (#11977)
This commit is contained in:
@@ -90,7 +90,7 @@ void ok_to_send();
|
||||
* Aborts the current queue, if any.
|
||||
* Note: drain_injected_commands_P() must be called repeatedly to drain the commands afterwards
|
||||
*/
|
||||
void enqueue_and_echo_commands_P(const char * const pgcode);
|
||||
void enqueue_and_echo_commands_P(PGM_P const pgcode);
|
||||
|
||||
/**
|
||||
* Enqueue with Serial Echo
|
||||
@@ -109,7 +109,7 @@ bool enqueue_and_echo_command(const char* cmd);
|
||||
/**
|
||||
* Enqueue from program memory and return only when commands are actually enqueued
|
||||
*/
|
||||
void enqueue_and_echo_commands_now_P(const char * const cmd);
|
||||
void enqueue_and_echo_commands_now_P(PGM_P const cmd);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user