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.
master
Takeshi ISHII 2020-12-13 03:19:15 +09:00 committed by GitHub
parent 8ea7f4f45f
commit 10e4487ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -983,7 +983,7 @@ void rgblight_task(void) {
# ifndef RGBLIGHT_BREATHE_TABLE_SIZE # ifndef RGBLIGHT_BREATHE_TABLE_SIZE
# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256 or 128 or 64 # define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256 or 128 or 64
# endif # endif
# include "rgblight_breathe_table.h" # include <rgblight_breathe_table.h>
# endif # endif
__attribute__((weak)) const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5}; __attribute__((weak)) const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5};