summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack <0x6A73@pm.me>2022-06-10 01:45:31 -0600
committerGitHub <noreply@github.com>2022-06-10 08:45:31 +0100
commitd8ace624c8e6a3e5e49ad5f612f5222cb766542a (patch)
treea610eca7416a0f328b5e6a99ce4117d31a05ae47
parent7c097ee6b404503f35ce43c85d46a5adde926146 (diff)
downloadqmk_firmware-d8ace624c8e6a3e5e49ad5f612f5222cb766542a.tar.gz
qmk_firmware-d8ace624c8e6a3e5e49ad5f612f5222cb766542a.zip
initial (#17345)
-rw-r--r--keyboards/nacly/sodium62/keymaps/default/keymap.c7
-rw-r--r--keyboards/nacly/sodium62/sodium62.c8
2 files changed, 4 insertions, 11 deletions
diff --git a/keyboards/nacly/sodium62/keymaps/default/keymap.c b/keyboards/nacly/sodium62/keymaps/default/keymap.c
index f655241876..c07d91a392 100644
--- a/keyboards/nacly/sodium62/keymaps/default/keymap.c
+++ b/keyboards/nacly/sodium62/keymaps/default/keymap.c
@@ -15,13 +15,6 @@
*/
#include QMK_KEYBOARD_H
-enum custom_layers {
- _BASE,
- _L1,
- _L2,
- _L3,
-};
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
diff --git a/keyboards/nacly/sodium62/sodium62.c b/keyboards/nacly/sodium62/sodium62.c
index d165bc1f2f..d418313374 100644
--- a/keyboards/nacly/sodium62/sodium62.c
+++ b/keyboards/nacly/sodium62/sodium62.c
@@ -24,16 +24,16 @@ bool oled_task_kb(void) {
oled_write_P(PSTR("Layer: "), false);
switch (get_highest_layer(layer_state)) {
- case _BASE:
+ case 0:
oled_write_P(PSTR("Base\n"), false);
break;
- case _L1:
+ case 1:
oled_write_P(PSTR("ONE\n"), false);
break;
- case _L2:
+ case 2:
oled_write_P(PSTR("TWO\n"), false);
break;
- case _L3:
+ case 3:
oled_write_P(PSTR("Three\n"), false);
break;
default: