HAL_*_TIMER_RATE => *_TIMER_RATE

This commit is contained in:
Scott Lahteine
2018-06-12 16:32:22 -05:00
parent 928e50e724
commit 4dbec774b5
12 changed files with 25 additions and 25 deletions

View File

@ -327,7 +327,7 @@ class Stepper {
#ifdef CPU_32_BIT
// In case of high-performance processor, it is able to calculate in real-time
timer = uint32_t(HAL_STEPPER_TIMER_RATE) / step_rate;
timer = uint32_t(STEPPER_TIMER_RATE) / step_rate;
#else
constexpr uint32_t min_step_rate = F_CPU / 500000U;
NOLESS(step_rate, min_step_rate);