🐛 Followup to HAL/STM32 targets (Longer3D timers) (#22369)

This commit is contained in:
Tanguy Pruvot 2021-07-16 03:40:05 +02:00 committed by GitHub
parent 0207569ca6
commit 5b43795f54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 11 deletions

View file

@ -132,8 +132,12 @@ extern "C" {
// Timer Definitions (optional)
// Use TIM6/TIM7 when possible as servo and tone don't need GPIO output pin
#define TIMER_TONE TIM3
#define TIMER_SERVO TIM2
#ifndef TIMER_TONE
#define TIMER_TONE TIM6
#endif
#ifndef TIMER_SERVO
#define TIMER_SERVO TIM7
#endif
// UART Definitions
// Define here Serial instance number to map on Serial generic name