diff options
author | Sergey Vlasov <sigprof@gmail.com> | 2020-09-22 08:50:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 22:50:39 -0700 |
commit | 7ddae97c89905f8826c2efe0331d681d6a75876a (patch) | |
tree | 15ebd6eaf02d7987c7e0b21bddb3ec19ec27b88d /keyboards/gami_studio/lex60 | |
parent | ea0cf42eef81c137b6483cb0d33336bc98847981 (diff) | |
download | firmware-7ddae97c89905f8826c2efe0331d681d6a75876a.tar.gz firmware-7ddae97c89905f8826c2efe0331d681d6a75876a.tar.bz2 firmware-7ddae97c89905f8826c2efe0331d681d6a75876a.zip |
Fix backlight for F401/F411 blackpill onekey examples (#10320)
Fix configs to make the `handwired/onekey/blackpill_f401:backlight` and
`handwired/onekey/blackpill_f411:backlight` examples actually compile
and work:
- Use `PWMD5` instead of `PWMD2` for backlight, which matches the
default value of `BACKLIGHT_PAL_MODE` (AF02 for pin A0 is `TIM5_CH1`)
and does not conflict with the default value of `STM32_ST_USE_TIMER`.
- Enable `HAL_USE_PWM` in halconf.h and `STM32_PWM_USE_TIM5` in
mcuconf.h, so that `PWMD5` could be used.
Diffstat (limited to 'keyboards/gami_studio/lex60')
0 files changed, 0 insertions, 0 deletions