1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

Repair led strip

Change TIM1_CH1 to TIM1_CH3N
This commit is contained in:
MarkTan 2023-07-24 16:54:41 +08:00 committed by GitHub
parent a528a6dfca
commit 17b8a5f591
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ timerHardware_t timerHardware[] = {
DEF_TIM(TIM3, CH3, PC8, TIM_USE_MC_MOTOR | TIM_USE_FW_SERVO, 0, 0), // S3
DEF_TIM(TIM3, CH4, PC9, TIM_USE_MC_MOTOR | TIM_USE_FW_SERVO, 0, 0), // S4
DEF_TIM(TIM1, CH1, PB1, TIM_USE_LED, 0, 0), // LED
DEF_TIM(TIM1, CH3N, PB1, TIM_USE_LED, 0, 0), // LED
};
const int timerHardwareCount = sizeof(timerHardware) / sizeof(timerHardware[0]);