🎨 Use LIMIT macro
This commit is contained in:
@@ -3453,8 +3453,7 @@ void Planner::set_max_feedrate(const AxisEnum axis, float inMaxFeedrateMMS) {
|
||||
// Doesn't matter because block_buffer_runtime_us is already too small an estimation.
|
||||
bbru >>= 10;
|
||||
// limit to about a minute.
|
||||
NOMORE(bbru, 0x0000FFFFUL);
|
||||
return bbru;
|
||||
return _MIN(bbru, 0x0000FFFFUL);
|
||||
}
|
||||
|
||||
void Planner::clear_block_buffer_runtime() {
|
||||
|
Reference in New Issue
Block a user