diff options
author | Joel Challis <git@zvecr.com> | 2019-12-21 18:22:49 +0000 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-02-26 10:15:12 +0900 |
commit | 0a1b1e3235e393f06cd4491a0e006b4be7b6db17 (patch) | |
tree | 537ba007aaaa5c1a47720e9d644954210c3807fb /quantum | |
parent | 5e3bd392cb46777db7efb71af5f4916cb09936bd (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.c | 4 | ||||
-rw-r--r-- | quantum/quantum.h | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/quantum/backlight/backlight_arm.c b/quantum/backlight/backlight_arm.c index d1b3b49452..f7065906f8 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 59276ca4b1..d251d6b826 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" |