diff options
author | Priyadi Iman Nurcahyo <priyadi@priyadi.net> | 2017-02-12 00:07:33 +0700 |
---|---|---|
committer | Priyadi Iman Nurcahyo <priyadi@priyadi.net> | 2017-02-13 17:58:06 +0700 |
commit | 68e5c859990b31240b57ddf70a6d4e2e3762d195 (patch) | |
tree | 0c23f22b979a3d294d0028f270e58555d5ba6c31 /keyboards/handwired/promethium/keymaps/priyadi/keymap.c | |
parent | 455568d1978bdf4312ab684d7b6da43bdc19895c (diff) | |
download | qmk_firmware-68e5c859990b31240b57ddf70a6d4e2e3762d195.tar.gz qmk_firmware-68e5c859990b31240b57ddf70a6d4e2e3762d195.zip |
Remove assignment warning
Diffstat (limited to 'keyboards/handwired/promethium/keymaps/priyadi/keymap.c')
-rw-r--r-- | keyboards/handwired/promethium/keymaps/priyadi/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c index e35e42488b..52b186c409 100644 --- a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c +++ b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c @@ -1058,7 +1058,7 @@ void battery_poll(uint8_t level) { void led_set_user(uint8_t usb_led) { bool new_capslock = usb_led & (1<<USB_LED_CAPS_LOCK); if (new_capslock ^ capslock) { // capslock state is different - if (capslock = new_capslock) { + if ((capslock = new_capslock)) { rgbsps_set(LED_IND_NUM, 15, 0, 0); } else { rgbsps_set(LED_IND_NUM, 0, 0, 0); |