🎨 Suppress M122 sign warning (#25613)
This commit is contained in:
committed by
Scott Lahteine
parent
ea6430ddf6
commit
b0c3db67f0
@@ -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
|
||||
|
Reference in New Issue
Block a user