|
@@ -303,16 +303,16 @@ enum TimerPurpose { TP_SERIAL, TP_TONE, TP_SERVO, TP_STEP, TP_TEMP };
|
303
|
303
|
// This cannot yet account for timers used for PWM output, such as for fans.
|
304
|
304
|
static constexpr struct { TimerPurpose p; int t; } timers_in_use[] = {
|
305
|
305
|
#if HAS_TMC_SW_SERIAL
|
306
|
|
- {TP_SERIAL, get_timer_num_from_base_address(timer_serial[0])}, // Set in variant.h, or as a define in platformio.h if not present in variant.h
|
|
306
|
+ { TP_SERIAL, get_timer_num_from_base_address(timer_serial[0]) }, // Set in variant.h, or as a define in platformio.h if not present in variant.h
|
307
|
307
|
#endif
|
308
|
308
|
#if ENABLED(SPEAKER)
|
309
|
|
- {TP_TONE, get_timer_num_from_base_address(timer_tone[0])}, // Set in variant.h, or as a define in platformio.h if not present in variant.h
|
|
309
|
+ { TP_TONE, get_timer_num_from_base_address(timer_tone[0]) }, // Set in variant.h, or as a define in platformio.h if not present in variant.h
|
310
|
310
|
#endif
|
311
|
311
|
#if HAS_SERVOS
|
312
|
|
- {TP_SERVO, get_timer_num_from_base_address(timer_servo[0])}, // Set in variant.h, or as a define in platformio.h if not present in variant.h
|
|
312
|
+ { TP_SERVO, get_timer_num_from_base_address(timer_servo[0]) }, // Set in variant.h, or as a define in platformio.h if not present in variant.h
|
313
|
313
|
#endif
|
314
|
|
- {TP_STEP, STEP_TIMER},
|
315
|
|
- {TP_TEMP, TEMP_TIMER},
|
|
314
|
+ { TP_STEP, STEP_TIMER },
|
|
315
|
+ { TP_TEMP, TEMP_TIMER },
|
316
|
316
|
};
|
317
|
317
|
|
318
|
318
|
static constexpr bool verify_no_timer_conflicts() {
|