summaryrefslogtreecommitdiff
path: root/quantum/stm32
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-11-02 21:21:00 +0000
committerGitHub <noreply@github.com>2019-11-02 21:21:00 +0000
commit1249da4e8eab0be8618a5ea6a718eb757684f244 (patch)
tree26494b04f73a8c70a5ddf2366ce15d5149c35b4c /quantum/stm32
parent4531cc874e1bb8602fede9dc038b692673521590 (diff)
downloadqmk_firmware-1249da4e8eab0be8618a5ea6a718eb757684f244.tar.gz
qmk_firmware-1249da4e8eab0be8618a5ea6a718eb757684f244.zip
Use task driven PWM for CTPC until ARM can provide automatic configuration (#6928)
* Use task driven PWM for CTPC until ARM can provide automatic configuration * Update CTPC docs to cover backlight
Diffstat (limited to 'quantum/stm32')
-rw-r--r--quantum/stm32/proton_c.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/quantum/stm32/proton_c.mk b/quantum/stm32/proton_c.mk
index a65e283d3f..193e09ca1e 100644
--- a/quantum/stm32/proton_c.mk
+++ b/quantum/stm32/proton_c.mk
@@ -3,7 +3,11 @@
# These are defaults based on what has been implemented for ARM boards
AUDIO_ENABLE = yes
RGBLIGHT_ENABLE = no
-BACKLIGHT_ENABLE = no
+
+# Force task driven PWM until ARM can provide automatic configuration
+ifneq ($(strip $(BACKLIGHT_ENABLE)), no)
+ BACKLIGHT_ENABLE = software
+endif
# The rest of these settings shouldn't change