min/maxF -> std::min/max

This commit is contained in:
Matthew Kennedy 2024-09-25 17:02:00 -04:00 committed by Andrey
parent e26f1b0c93
commit 022a873cfe
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ void StepperHw::pause(int divisor) const {
}
void StepperHw::setReactionTime(float ms) {
m_reactionTime = maxF(1, ms);
m_reactionTime = std::max(1.0f, ms);
}
bool StepDirectionStepper::step(bool positive) {