Update serial echo macro to print from PGM
This commit is contained in:
parent
d9e6dd4efe
commit
4450dbe4dd
|
|
@ -6472,7 +6472,7 @@ Sigma_Exit:
|
||||||
- `String` - Message string. If omitted, a blank line will be sent.
|
- `String` - Message string. If omitted, a blank line will be sent.
|
||||||
*/
|
*/
|
||||||
case 118: {
|
case 118: {
|
||||||
bool hasE, hasA = false;
|
bool hasE = false, hasA = false;
|
||||||
char *p = strchr_pointer;
|
char *p = strchr_pointer;
|
||||||
|
|
||||||
for (uint8_t i = 2; i--;) {
|
for (uint8_t i = 2; i--;) {
|
||||||
|
|
@ -6487,7 +6487,7 @@ Sigma_Exit:
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasE) SERIAL_ECHO_START;
|
if (hasE) SERIAL_ECHO_START;
|
||||||
if (hasA) SERIAL_ECHO("//");
|
if (hasA) SERIAL_ECHOPGM("//");
|
||||||
|
|
||||||
SERIAL_ECHOLN(p);
|
SERIAL_ECHOLN(p);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue