qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit 84879f28a3e9e61053f7db37724b23bb32fbb0b4
parent c080a3e7c4aa565c696224588b16d4e883f60a7b
Author: skullY <skullydazed@gmail.com>
Date:   Sun, 27 Jan 2019 16:58:21 -0800

fix compiling for backlight without led matrix

Diffstat:
quantum/quantum.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quantum/quantum.c b/quantum/quantum.c @@ -1206,7 +1206,7 @@ static inline void set_pwm(uint16_t val) { OCRxx = val; } -#ifndef BACKLIGHT_CUSTOM_DRIVER || LED_MATRIX_ENABLE +#ifndef BACKLIGHT_CUSTOM_DRIVER __attribute__ ((weak)) void backlight_set(uint8_t level) { if (level > BACKLIGHT_LEVELS)