Update serial echo macro to print from PGM

This commit is contained in:
RoboMagus 2023-01-25 10:00:39 +01:00 committed by DRracer
parent d9e6dd4efe
commit 4450dbe4dd
1 changed files with 2 additions and 2 deletions

View File

@ -6472,7 +6472,7 @@ Sigma_Exit:
- `String` - Message string. If omitted, a blank line will be sent.
*/
case 118: {
bool hasE, hasA = false;
bool hasE = false, hasA = false;
char *p = strchr_pointer;
for (uint8_t i = 2; i--;) {
@ -6487,7 +6487,7 @@ Sigma_Exit:
}
if (hasE) SERIAL_ECHO_START;
if (hasA) SERIAL_ECHO("//");
if (hasA) SERIAL_ECHOPGM("//");
SERIAL_ECHOLN(p);
}