SonixQMK / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
515 stars 408 forks source link

[GMMK compact] Make it possible to disable RGB #297

Closed NilsIrl closed 1 year ago

NilsIrl commented 1 year ago

Description

Types of Changes

Issues Fixed or Closed by This PR

Checklist

dexter93 commented 1 year ago

disabling RGB should be possible without this using RGB_TOG key. Why nuke the driver?

NilsIrl commented 1 year ago

I didn't know that was possible. I just changed something in rules.mk (SOMEKEY = NO).

I can't remember what SOMEKEY was exactly.

But this patch was required to fix the error that appeared as a result of that.

dexter93 commented 1 year ago

SOMEKEY was RGB_MATRIX_ENABLE. Please read further here

NilsIrl commented 1 year ago

Yes, that's not the issue. The issue is that setting that key (which I had forgotten at the time of writing my last comment), means that it doesn't compile anymore (unless this patch is applied).