Add SERIAL_FLOAT_PRECISION option (#18367)

This commit is contained in:
Fabio Santos authored and GitHub committed 2020-06-22 21:12:45 -05:00
1 parent 1ea4e393c9
commit 25c7c43a82
15 files changed
+30 -21

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ void GcodeSuite::M92() {
if (wanted) {
const float best = uint16_t(wanted / z_full_step_mm) * z_full_step_mm;
SERIAL_ECHOPAIR(", best:[", best);
if (best != wanted) { SERIAL_CHAR(','); SERIAL_ECHO(best + z_full_step_mm); }
if (best != wanted) { SERIAL_CHAR(','); SERIAL_DECIMAL(best + z_full_step_mm); }
SERIAL_CHAR(']');
}
SERIAL_ECHOLNPGM(" }");