Skip to content

Commit

Permalink
Fix for matthewrobo keymap compilation error
Browse files Browse the repository at this point in the history
This was the same issue as seen in the endgame keymap.

References:
Same issue in endgame keymap: qmk#13782
Fix in endgame keymap: qmk@3f5482b
  • Loading branch information
asaph committed Nov 16, 2021
1 parent 1e6d1ef commit eb0a273
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/matthewrobo/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void set_layer_color(int layer) {
}

void rgb_matrix_indicators_user(void) {
if (g_suspend_state || disable_layer_color || rgb_matrix_get_flags() == LED_FLAG_NONE || rgb_matrix_get_flags() == LED_FLAG_UNDERGLOW) {
if (disable_layer_color || rgb_matrix_get_flags() == LED_FLAG_NONE || rgb_matrix_get_flags() == LED_FLAG_UNDERGLOW) {
return;
}
set_layer_color(get_highest_layer(layer_state));
Expand Down
1 change: 0 additions & 1 deletion keyboards/massdrop/ctrl/keymaps/matthewrobo/keymap.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define _LAYER_ KC_TRNS

//========================================================== CONFIGURABLE DEFAULTS ==========================================================
extern bool g_suspend_state;
extern rgb_config_t rgb_matrix_config;
bool disable_layer_color;

Expand Down

0 comments on commit eb0a273

Please sign in to comment.