diff options
| author | skullY <skullydazed@gmail.com> | 2019-01-27 16:58:21 -0800 |
|---|---|---|
| committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-02-10 15:37:12 -0800 |
| commit | 84879f28a3e9e61053f7db37724b23bb32fbb0b4 (patch) | |
| tree | bc3b0efd63d079a7cd2d2bef8d8589b29cc53525 /quantum | |
| parent | c080a3e7c4aa565c696224588b16d4e883f60a7b (diff) | |
| download | qmk_firmware-84879f28a3e9e61053f7db37724b23bb32fbb0b4.tar.gz qmk_firmware-84879f28a3e9e61053f7db37724b23bb32fbb0b4.zip | |
fix compiling for backlight without led matrix
Diffstat (limited to 'quantum')
| -rw-r--r-- | quantum/quantum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 0e605d4cb..376578ade 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -1206,7 +1206,7 @@ static inline void set_pwm(uint16_t val) { | |||
| 1206 | OCRxx = val; | 1206 | OCRxx = val; |
| 1207 | } | 1207 | } |
| 1208 | 1208 | ||
| 1209 | #ifndef BACKLIGHT_CUSTOM_DRIVER || LED_MATRIX_ENABLE | 1209 | #ifndef BACKLIGHT_CUSTOM_DRIVER |
| 1210 | __attribute__ ((weak)) | 1210 | __attribute__ ((weak)) |
| 1211 | void backlight_set(uint8_t level) { | 1211 | void backlight_set(uint8_t level) { |
| 1212 | if (level > BACKLIGHT_LEVELS) | 1212 | if (level > BACKLIGHT_LEVELS) |
