🔨 Set Longer3D timers in variant (#22632)

This commit is contained in:
Tanguy Pruvot
2021-08-27 23:06:45 +02:00
committed by Scott Lahteine
parent 8cadcf6bb6
commit fd594ab176
3 changed files with 9 additions and 8 deletions

View File

@@ -117,13 +117,13 @@ extern "C" {
#define PIN_WIRE_SCL PB10
// Timer Definitions
// Use TIM6/TIM7 when possible as servo and tone don't need GPIO output pin
#ifndef TIMER_TONE
#define TIMER_TONE TIM6
#endif
#ifndef TIMER_SERVO
#define TIMER_SERVO TIM7
#endif
// Leave TIMER 2 for optional Fan PWM
#define TEMP_TIMER 3
// Leave TIMER 4 for TFT backlight PWM or Servo freq...
#define STEP_TIMER 5
#define TIMER_TONE TIM6
#define TIMER_SERVO TIM7
#define TIMER_SERIAL TIM8
// UART Definitions
// Define here Serial instance number to map on Serial generic name