Skip to content

Commit

Permalink
Update to tim15 to avoid conflict with audio
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr committed Aug 14, 2020
1 parent cbcd99d commit 452d391
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platforms/chibios/GENERIC_STM32_F303XC/configs/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
#define STM32_GPT_USE_TIM6 TRUE
#define STM32_GPT_USE_TIM7 TRUE
#define STM32_GPT_USE_TIM8 TRUE
#define STM32_GPT_USE_TIM15 FALSE
#define STM32_GPT_USE_TIM15 TRUE
#define STM32_GPT_USE_TIM16 FALSE
#define STM32_GPT_USE_TIM17 FALSE
#define STM32_GPT_TIM1_IRQ_PRIORITY 7
Expand Down
3 changes: 2 additions & 1 deletion quantum/backlight/backlight_timer.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#include "quantum.h"
#include "backlight.h"
#include "backlight_driver_common.h"
#include "debug.h"

#ifndef BACKLIGHT_GPT_DRIVER
# define BACKLIGHT_GPT_DRIVER GPTD7
# define BACKLIGHT_GPT_DRIVER GPTD15
#endif

// Platform specific implementations
Expand Down

0 comments on commit 452d391

Please sign in to comment.