Skip to content

Commit

Permalink
fix: PA5的定时器通道
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuuu committed Sep 18, 2023
1 parent 60b4269 commit 4d4c5cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion variants/AIR001/AIR001_DEV/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ WEAK const PinMap PinMap_TIM[] = {
{PA_2, TIM3, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF13_TIM3, 1, 0)}, // TIM3_CH1
{PA_3, TIM1, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF13_TIM1, 1, 0)}, // TIM1_CH1
{PA_4, TIM14, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF4_TIM14, 1, 0)}, // TIM14_CH1
{PA_5, TIM3, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF13_TIM3, 3, 0)}, // TIM3_CH3
{PA_5, TIM3, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF13_TIM3, 2, 0)}, // TIM3_CH2
{PA_6, TIM3, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM3, 1, 0)}, // TIM3_CH1
{PA_6, TIM16, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_TIM16, 1, 0)}, // TIM16_CH1
{PA_7, TIM3, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM3, 2, 0)}, // TIM3_CH2
Expand Down
2 changes: 1 addition & 1 deletion variants/AIR001/AirM2M_Air001_Board/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ WEAK const PinMap PinMap_TIM[] = {
{PA_2, TIM3, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF13_TIM3, 1, 0)}, // TIM3_CH1
{PA_3, TIM1, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF13_TIM1, 1, 0)}, // TIM1_CH1
{PA_4, TIM14, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF4_TIM14, 1, 0)}, // TIM14_CH1
{PA_5, TIM3, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF13_TIM3, 3, 0)}, // TIM3_CH3
{PA_5, TIM3, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF13_TIM3, 2, 0)}, // TIM3_CH2
{PA_6, TIM3, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM3, 1, 0)}, // TIM3_CH1
{PA_6, TIM16, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_TIM16, 1, 0)}, // TIM16_CH1
{PA_7, TIM3, AIR_PIN_DATA_EXT(AIR_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_TIM3, 2, 0)}, // TIM3_CH2
Expand Down

0 comments on commit 4d4c5cf

Please sign in to comment.