Skip to content

Commit

Permalink
Update endgame keymap to work with suspend changes
Browse files Browse the repository at this point in the history
Updates the Massdrop CTRL keyboard engame keymap to work after the
changes to USB suspend in qmk#12697

Fixes qmk#13782
  • Loading branch information
Slashbunny committed Jul 30, 2021
1 parent 8b39a3c commit 166aea2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion keyboards/massdrop/ctrl/keymaps/endgame/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion keyboards/massdrop/ctrl/keymaps/endgame/keymap.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#define RGB_TIME_OUT_MIN 10
#define RGB_TIME_OUT_STEP 10

extern bool g_suspend_state;
extern rgb_config_t rgb_matrix_config;
bool disable_layer_color;

Expand Down

0 comments on commit 166aea2

Please sign in to comment.