summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-12-21 18:22:49 +0000
committerGitHub <noreply@github.com>2019-12-21 18:22:49 +0000
commit376419a4f7e0489111a9ac24acc847342fe9d64d (patch)
tree7956534e51eb87d62af3c4ba81f19118a7a04ef9 /quantum
parent05b479d349aafb8298b43fcbfcddc4440336de9c (diff)
Add central location for ChibiOS defines (#7542)
* Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
Diffstat (limited to 'quantum')
-rw-r--r--quantum/backlight/backlight_arm.c4
-rw-r--r--quantum/quantum.h1
2 files changed, 1 insertions, 4 deletions
diff --git a/quantum/backlight/backlight_arm.c b/quantum/backlight/backlight_arm.c
index 3f94ccef8e..8c6909a4ae 100644
--- a/quantum/backlight/backlight_arm.c
+++ b/quantum/backlight/backlight_arm.c
@@ -10,10 +10,6 @@
# error "Backlight support for STMF072 is not available. Please disable."
# endif
-# if defined(STM32F1XX) || defined(STM32F1xx)
-# define USE_GPIOV1
-# endif
-
// GPIOV2 && GPIOV3
# ifndef BACKLIGHT_PAL_MODE
# define BACKLIGHT_PAL_MODE 2
diff --git a/quantum/quantum.h b/quantum/quantum.h
index b9e7eea24b..053b33b917 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -22,6 +22,7 @@
#endif
#if defined(PROTOCOL_CHIBIOS)
# include "hal.h"
+# include "chibios_config.h"
#endif
#include "wait.h"