Allow STM32 pins to specify timers (#17805)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
J.C. Nelson
2020-04-30 20:42:40 -07:00
committed by GitHub
parent 76bc7bf7b8
commit b4aebbe78d
4 changed files with 42 additions and 86 deletions

View File

@ -43,8 +43,6 @@
//
// Timers
//
#undef STEP_TIMER
#undef TEMP_TIMER
#define STEP_TIMER 6
#define TEMP_TIMER 7

View File

@ -42,8 +42,6 @@
// On STM32F103:
// PB3, PB6, PB7, and PB8 can be used with pwm, which rules out TIM2 and TIM4.
// On STM32F070, 16 and 17 are in use, but 1 and 3 are available.
#undef STEP_TIMER
#undef TEMP_TIMER
#define STEP_TIMER 1
#define TEMP_TIMER 3