diff options
| author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2020-12-13 03:19:15 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-13 03:19:15 +0900 |
| commit | 10e4487ba368a9e220c96e12a0d17ae729d5c1e1 (patch) | |
| tree | 91eeae0a5ece7f06fff3b745adcc94a77d57b788 /quantum/rgblight.c | |
| parent | 8ea7f4f45f912037f47617108ea5fc36d4662101 (diff) | |
| download | qmk_firmware-10e4487ba368a9e220c96e12a0d17ae729d5c1e1.tar.gz qmk_firmware-10e4487ba368a9e220c96e12a0d17ae729d5c1e1.zip | |
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.
Diffstat (limited to 'quantum/rgblight.c')
| -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 e6f14487c..db725301c 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c | |||
| @@ -983,7 +983,7 @@ void rgblight_task(void) { | |||
| 983 | # ifndef RGBLIGHT_BREATHE_TABLE_SIZE | 983 | # ifndef RGBLIGHT_BREATHE_TABLE_SIZE |
| 984 | # define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256 or 128 or 64 | 984 | # define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256 or 128 or 64 |
| 985 | # endif | 985 | # endif |
| 986 | # include "rgblight_breathe_table.h" | 986 | # include <rgblight_breathe_table.h> |
| 987 | # endif | 987 | # endif |
| 988 | 988 | ||
| 989 | __attribute__((weak)) const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5}; | 989 | __attribute__((weak)) const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5}; |
