diff options
author | slashbunny <Slashbunny@users.noreply.github.com> | 2021-07-31 11:28:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-31 16:28:09 +0100 |
commit | 3f5482bbb7886d1a1dc957fa5a448e9cb87e2c4b (patch) | |
tree | f5e4581d7d779478ad58b2095abdd659ce77d1ff /keyboards/massdrop/ctrl/keymaps/endgame/keymap.c | |
parent | 954806c80ff70bb241949761cf8bfedc28c55ee3 (diff) | |
download | qmk_firmware-3f5482bbb7886d1a1dc957fa5a448e9cb87e2c4b.tar.gz qmk_firmware-3f5482bbb7886d1a1dc957fa5a448e9cb87e2c4b.zip |
Update endgame keymap to work with suspend changes (#13805)
Updates the Massdrop CTRL keyboard engame keymap to work after the
changes to USB suspend in #12697
Fixes #13782
Diffstat (limited to 'keyboards/massdrop/ctrl/keymaps/endgame/keymap.c')
-rw-r--r-- | keyboards/massdrop/ctrl/keymaps/endgame/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/massdrop/ctrl/keymaps/endgame/keymap.c b/keyboards/massdrop/ctrl/keymaps/endgame/keymap.c index c28434e06b..6451dd495b 100644 --- a/keyboards/massdrop/ctrl/keymaps/endgame/keymap.c +++ b/keyboards/massdrop/ctrl/keymaps/endgame/keymap.c @@ -373,7 +373,7 @@ void set_layer_color(int layer) { } void rgb_matrix_indicators_user(void) { - if (g_suspend_state || disable_layer_color || + if (disable_layer_color || rgb_matrix_get_flags() == LED_FLAG_NONE || rgb_matrix_get_flags() == LED_FLAG_UNDERGLOW) { return; |