mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-02 15:06:29 +00:00
🎨 Suppress M122 sign warning (#25613)
This commit is contained in:
parent
ea6430ddf6
commit
b0c3db67f0
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ void GcodeSuite::M122() {
|
|||
if (sflag && !sval)
|
||||
tmc_set_report_interval(0);
|
||||
else if (parser.seenval('P'))
|
||||
tmc_set_report_interval(_MAX(250, parser.value_ushort()));
|
||||
tmc_set_report_interval(_MAX(uint16_t(250), parser.value_ushort()));
|
||||
else if (sval)
|
||||
tmc_set_report_interval(MONITOR_DRIVER_STATUS_INTERVAL_MS);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue