HAL_*_TIMER_RATE => *_TIMER_RATE

This commit is contained in:
Scott Lahteine committed 2018-06-12 16:39:12 -05:00
1 parent 928e50e724
commit 4dbec774b5
12 files changed
+25 -25

No files matched your search

+1 -1
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);