diff options
author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2020-12-13 03:19:15 +0900 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2021-01-12 22:46:08 -0800 |
commit | 7f03ebaf727ce7c47b533a9d2b6fba6431593025 (patch) | |
tree | b66976a4175d6c70978031affabc7fba002fdda7 | |
parent | f304fa3ea2e129d186d65802e1bc894a2825bdba (diff) |
Fix incorrect search order for `rgblight_breathe_table.h` that `rgblight.c` includes. (#11192)
When `rgblight.c` includes `rgblight_breathe_table.h`, the search order should be as follows.
* `keyboards/KEYBOARD/keymaps/USER/rgblight_breathe_table.h`
* `users/USER/rgblight_breathe_table.h`
* `quantum/rgblight_breathe_table.h`
However, the current implementation was wrong, so I fixed it.
-rw-r--r-- | quantum/rgblight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 58dad3c57b..11886a1ed0 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c @@ -985,7 +985,7 @@ void rgblight_task(void) { # ifndef RGBLIGHT_BREATHE_TABLE_SIZE # define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256 or 128 or 64 # endif -# include "rgblight_breathe_table.h" +# include <rgblight_breathe_table.h> # endif __attribute__((weak)) const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5}; |