aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mechmini
diff options
context:
space:
mode:
authorXelus22 <17491233+Xelus22@users.noreply.github.com>2021-07-20 02:50:55 +1000
committerGitHub <noreply@github.com>2021-07-19 09:50:55 -0700
commitb73a29aaeabe1004423a2ea6180a94a95a1f0d91 (patch)
tree41f8708f6d3be543d0d97bc1f73c6c5e69c66ca9 /keyboards/mechmini
parentf792aee954c6e5ced81af381775438afa2710c72 (diff)
downloadqmk_firmware-b73a29aaeabe1004423a2ea6180a94a95a1f0d91.tar.gz
qmk_firmware-b73a29aaeabe1004423a2ea6180a94a95a1f0d91.zip
[Bug] Develop - Change uint32_t to layer_state_t (#13596)
* fix sat75 * update uint32_t to layer_state
Diffstat (limited to 'keyboards/mechmini')
-rw-r--r--keyboards/mechmini/v2/keymaps/wsturgiss/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/mechmini/v2/keymaps/wsturgiss/keymap.c b/keyboards/mechmini/v2/keymaps/wsturgiss/keymap.c
index e90a8c6e6..218936a19 100644
--- a/keyboards/mechmini/v2/keymaps/wsturgiss/keymap.c
+++ b/keyboards/mechmini/v2/keymaps/wsturgiss/keymap.c
@@ -1,7 +1,7 @@
1#include QMK_KEYBOARD_H 1#include QMK_KEYBOARD_H
2 2
3#define base 0 3#define base 0
4#define raise 1 4#define raise 1
5#define lower 2 5#define lower 2
6 6
7//Tap Dance Declarations 7//Tap Dance Declarations
@@ -37,7 +37,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
37 [raise] = LAYOUT_2u_space_ortho( 37 [raise] = LAYOUT_2u_space_ortho(
38 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL, 38 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
39 _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_QUOT, _______, 39 _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_QUOT, _______,
40 _______, KC_HOME, KC_END, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, _______, _______, 40 _______, KC_HOME, KC_END, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, _______, _______,
41 _______, _______, _______, _______, _______, _______, _______, KC_MPRV, _______, KC_MNXT, EEP_RST), 41 _______, _______, _______, _______, _______, _______, _______, KC_MPRV, _______, KC_MNXT, EEP_RST),
42 42
43 [lower] = LAYOUT_2u_space_ortho( 43 [lower] = LAYOUT_2u_space_ortho(
@@ -86,7 +86,7 @@ void matrix_scan_user(void) {
86} 86}
87 87
88//change colors and rgb modes on layer change 88//change colors and rgb modes on layer change
89uint32_t layer_state_set_user(uint32_t state) { 89layer_state_t layer_state_set_user(layer_state_t state) {
90 switch (biton32(state)) { 90 switch (biton32(state)) {
91 case raise: 91 case raise:
92 rgblight_mode_noeeprom(1); 92 rgblight_mode_noeeprom(1);