Avoid copying FW version number into RAM - use the PROGMEM string
This commit is contained in:
parent
4f769f0faa
commit
c1ff6242b0
2 changed files with 2 additions and 2 deletions
Firmware
|
@ -8218,7 +8218,7 @@ Sigma_Exit:
|
|||
if(code_seen('P'))
|
||||
fw_version_check(++strchr_pointer);
|
||||
else if(code_seen('Q'))
|
||||
SERIAL_PROTOCOLLN(FW_VERSION);
|
||||
SERIAL_PROTOCOLLNRPGM(FW_VERSION_STR_P());
|
||||
break;
|
||||
case ClPrintChecking::_Gcode: // ~ .5
|
||||
if(code_seen('P'))
|
||||
|
|
|
@ -4212,7 +4212,7 @@ static void prusa_stat_printinfo()
|
|||
SERIAL_ECHO(0);
|
||||
}
|
||||
SERIAL_ECHOPGM("][FWR:");
|
||||
SERIAL_ECHO(FW_VERSION);
|
||||
SERIAL_ECHORPGM(FW_VERSION_STR_P());
|
||||
SERIAL_ECHO(']');
|
||||
prusa_stat_diameter();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue