|
@@ -2835,12 +2835,12 @@ void Temperature::readings_ready() {
|
2835
|
2835
|
* - Step the babysteps value for each axis towards 0
|
2836
|
2836
|
* - For PINS_DEBUGGING, monitor and report endstop pins
|
2837
|
2837
|
* - For ENDSTOP_INTERRUPTS_FEATURE check endstops if flagged
|
2838
|
|
- * - Call planner.tick to count down its "ignore" time
|
|
2838
|
+ * - Call planner.isr to count down its "ignore" time
|
2839
|
2839
|
*/
|
2840
|
2840
|
HAL_TEMP_TIMER_ISR() {
|
2841
|
2841
|
HAL_timer_isr_prologue(TEMP_TIMER_NUM);
|
2842
|
2842
|
|
2843
|
|
- Temperature::tick();
|
|
2843
|
+ Temperature::isr();
|
2844
|
2844
|
|
2845
|
2845
|
HAL_timer_isr_epilogue(TEMP_TIMER_NUM);
|
2846
|
2846
|
}
|
|
@@ -2879,7 +2879,7 @@ public:
|
2879
|
2879
|
* - Endstop polling
|
2880
|
2880
|
* - Planner clean buffer
|
2881
|
2881
|
*/
|
2882
|
|
-void Temperature::tick() {
|
|
2882
|
+void Temperature::isr() {
|
2883
|
2883
|
|
2884
|
2884
|
static int8_t temp_count = -1;
|
2885
|
2885
|
static ADCSensorState adc_sensor_state = StartupDelay;
|
|
@@ -3363,8 +3363,8 @@ void Temperature::tick() {
|
3363
|
3363
|
// Poll endstops state, if required
|
3364
|
3364
|
endstops.poll();
|
3365
|
3365
|
|
3366
|
|
- // Periodically call the planner timer
|
3367
|
|
- planner.tick();
|
|
3366
|
+ // Periodically call the planner timer service routine
|
|
3367
|
+ planner.isr();
|
3368
|
3368
|
}
|
3369
|
3369
|
|
3370
|
3370
|
#if HAS_TEMP_SENSOR
|