HAL_STEPPER_TIMER_RATE => STEPPER_TIMER_RATE

This commit is contained in:
Scott Lahteine 2018-06-12 16:55:57 -05:00
parent 1d048f5192
commit 87eddf35e2
3 changed files with 7 additions and 7 deletions

View file

@ -95,8 +95,8 @@ inline uint8_t HAL_get_reset_source(void) { return MCUSR; }
#define TEMP_TIMER_NUM 0
#define PULSE_TIMER_NUM STEP_TIMER_NUM
#define HAL_STEPPER_TIMER_RATE HAL_TIMER_RATE
#define HAL_TICKS_PER_US ((HAL_STEPPER_TIMER_RATE) / 1000000) // Cannot be of type double
#define STEPPER_TIMER_RATE HAL_TIMER_RATE
#define HAL_TICKS_PER_US ((STEPPER_TIMER_RATE) / 1000000) // Cannot be of type double
#define STEPPER_TIMER_PRESCALE 8
#define STEP_TIMER_MIN_INTERVAL 8 // minimum time in µs between stepper interrupts