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