🚸 Fix G33 display precision (3 digits) (#27186)

This commit is contained in:
Keith Bennett
2024-07-08 17:13:21 -07:00
committed by GitHub
parent 2b9a62093a
commit b7c07f1329

View File

@@ -634,7 +634,7 @@ void GcodeSuite::G33() {
} }
SERIAL_EOL(); SERIAL_EOL();
MString<20> msg(F("Calibration sd:")); MString<21> msg(F("Calibration sd:"));
if (zero_std_dev_min < 1) if (zero_std_dev_min < 1)
msg.appendf(F("0.%03i"), (int)LROUND(zero_std_dev_min * 1000.0f)); msg.appendf(F("0.%03i"), (int)LROUND(zero_std_dev_min * 1000.0f));
else else