Skip to content

Commit

Permalink
Fix additional keymaps
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Mar 16, 2022
1 parent a7c0045 commit 48da300
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion keyboards/clueboard/66/keymaps/magicmonty/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void matrix_scan_user(void) {

if (!rgblight_config.enable || rgblight_config.mode != 1) { return; }

uint32_t layer = layer_state;
layer_state_t layer = layer_state;
uint8_t val = rgblight_config.val;

if (layer & (1<<_FL)) {
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ergodox_ez/keymaps/bepo_tm_style/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static bool is_macro1_recording = false;
// The current set of active layers (as a bitmask).
// There is a global 'layer_state' variable but it is set after the call
// to layer_state_set_user().
static uint32_t current_layer_state = 0;
static layer_state_t current_layer_state = 0;
layer_state_t layer_state_set_user(layer_state_t state);

// Method called at the end of the tap dance on the TAP_MACRO key. That key is
Expand Down
2 changes: 1 addition & 1 deletion keyboards/ergodox_ez/keymaps/bpruitt-goddard/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static bool is_macro1_recording = false;
// The current set of active layers (as a bitmask).
// There is a global 'layer_state' variable but it is set after the call
// to layer_state_set_user().
static uint32_t current_layer_state = 0;
static layer_state_t current_layer_state = 0;
layer_state_t layer_state_set_user(layer_state_t state);

// Method called at the end of the tap dance on the TAP_MACRO key. That key is
Expand Down
4 changes: 2 additions & 2 deletions keyboards/gh60/revc/keymaps/dbroqua/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};

void matrix_scan_user(void) {
uint32_t layer = layer_state;
layer_state_t layer = layer_state;

if (layer & (1<<1)) {
gh60_fn_led_on();
Expand All @@ -120,4 +120,4 @@ void matrix_scan_user(void) {
} else {
gh60_esc_led_off();
}
};
};
2 changes: 1 addition & 1 deletion keyboards/gh60/revc/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
void matrix_scan_user(void) {

//Layer LED indicators
uint32_t layer = layer_state;
layer_state_t layer = layer_state;

if (layer & (1<<1)) {
gh60_wasd_leds_on();
Expand Down
2 changes: 1 addition & 1 deletion keyboards/gh60/revc/keymaps/robotmaxtron/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void matrix_scan_user(void) {

// Layer LED indicators
// ESC led on when in function layer, WASD cluster leds enabled when on arrow cluster
uint32_t layer = layer_state;
layer_state_t layer = layer_state;
if (layer & (1<<1)) {
gh60_wasd_leds_on();
} else {
Expand Down

0 comments on commit 48da300

Please sign in to comment.