Make HAL ISR macros function-like
This commit is contained in:
@ -1246,7 +1246,7 @@ void Stepper::set_directions() {
|
||||
* Directly pulses the stepper motors at high frequency.
|
||||
*/
|
||||
|
||||
HAL_STEP_TIMER_ISR {
|
||||
HAL_STEP_TIMER_ISR() {
|
||||
HAL_timer_isr_prologue(STEP_TIMER_NUM);
|
||||
|
||||
Stepper::isr();
|
||||
|
@ -2295,7 +2295,7 @@ void Temperature::readings_ready() {
|
||||
* - For ENDSTOP_INTERRUPTS_FEATURE check endstops if flagged
|
||||
* - Call planner.tick to count down its "ignore" time
|
||||
*/
|
||||
HAL_TEMP_TIMER_ISR {
|
||||
HAL_TEMP_TIMER_ISR() {
|
||||
HAL_timer_isr_prologue(TEMP_TIMER_NUM);
|
||||
|
||||
Temperature::isr();
|
||||
|
Reference in New Issue
Block a user