Skip to content

Commit 874cf94

Browse files
narno2202eoyilmaz
authored andcommitted
🚸 FT Motion M493 report less precision (MarlinFirmware#26643)
1 parent 2756d25 commit 874cf94

File tree

1 file changed

+6
-3
lines changed
  • Marlin/src/gcode/feature/ft_motion

1 file changed

+6
-3
lines changed

Marlin/src/gcode/feature/ft_motion/M493.cpp

+6-3
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void say_shaping() {
7979
SERIAL_ECHO_TERNARY(dynamic, "X/A ", "base dynamic", "static", " compensator frequency: ");
8080
SERIAL_ECHO(p_float_t(ftMotion.cfg.baseFreq[X_AXIS], 2), F("Hz"));
8181
#if HAS_DYNAMIC_FREQ
82-
if (dynamic) SERIAL_ECHO(" scaling: ", p_float_t(ftMotion.cfg.dynFreqK[X_AXIS], 8), F("Hz/"), z_based ? F("mm") : F("g"));
82+
if (dynamic) SERIAL_ECHO(F(" scaling: "), p_float_t(ftMotion.cfg.dynFreqK[X_AXIS], 2), F("Hz/"), z_based ? F("mm") : F("g"));
8383
#endif
8484
SERIAL_EOL();
8585
#endif
@@ -88,15 +88,18 @@ void say_shaping() {
8888
SERIAL_ECHO_TERNARY(dynamic, "Y/B ", "base dynamic", "static", " compensator frequency: ");
8989
SERIAL_ECHO(p_float_t(ftMotion.cfg.baseFreq[Y_AXIS], 2), F(" Hz"));
9090
#if HAS_DYNAMIC_FREQ
91-
if (dynamic) SERIAL_ECHO(F(" scaling: "), p_float_t(ftMotion.cfg.dynFreqK[Y_AXIS], 8), F("Hz/"), z_based ? F("mm") : F("g"));
91+
if (dynamic) SERIAL_ECHO(F(" scaling: "), p_float_t(ftMotion.cfg.dynFreqK[Y_AXIS], 2), F("Hz/"), z_based ? F("mm") : F("g"));
9292
#endif
9393
SERIAL_EOL();
9494
#endif
9595
}
9696

9797
#if HAS_EXTRUDERS
9898
SERIAL_ECHO_TERNARY(ftMotion.cfg.linearAdvEna, "Linear Advance ", "en", "dis", "abled");
99-
SERIAL_ECHOLN(F(". Gain: "), p_float_t(ftMotion.cfg.linearAdvK, 5));
99+
if (ftMotion.cfg.linearAdvEna)
100+
SERIAL_ECHOLNPGM(". Gain: ", ftMotion.cfg.linearAdvK);
101+
else
102+
SERIAL_EOL();
100103
#endif
101104
}
102105

0 commit comments

Comments
 (0)