From b088387f39a2c68af37bc9d9e547b442ee71a2b6 Mon Sep 17 00:00:00 2001 From: ot0tot <36753790+ot0tot@users.noreply.github.com> Date: Thu, 18 Jan 2024 18:23:46 -0500 Subject: [PATCH] Fix typo in TIMER_PIN_MAP (#306) * Fix typo in TIMER_PIN_MAP Duplicated index n TIMER_PIN_MAP was preventing Motor 3 from being assigned a timer resource. * Update configs/SPEEDYBEEF405MINI/config.h --------- Co-authored-by: Mark Haslinghuis --- configs/SPEEDYBEEF405MINI/config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/SPEEDYBEEF405MINI/config.h b/configs/SPEEDYBEEF405MINI/config.h index 4643637e..f01eea00 100644 --- a/configs/SPEEDYBEEF405MINI/config.h +++ b/configs/SPEEDYBEEF405MINI/config.h @@ -81,10 +81,10 @@ TIMER_PIN_MAP( 0, PB6 , 1, 0) \ TIMER_PIN_MAP( 1, PB7 , 1, 0) \ TIMER_PIN_MAP( 2, PB1 , 2, 0) \ - TIMER_PIN_MAP( 2, PB0 , 2, 0) \ - TIMER_PIN_MAP( 3, PB14, 3, -1) \ - TIMER_PIN_MAP( 4, PA8 , 1, 0) \ - TIMER_PIN_MAP( 9, PA3 , 3, -1) + TIMER_PIN_MAP( 3, PB0 , 2, 0) \ + TIMER_PIN_MAP( 4, PB14, 3, -1) \ + TIMER_PIN_MAP( 5, PA8 , 1, 0) \ + TIMER_PIN_MAP( 6, PA3 , 3, -1) #define ADC1_DMA_OPT 0