summaryrefslogtreecommitdiff
path: root/keyboards/handwired/promethium/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/promethium/keymaps/default/keymap.c')
-rw-r--r--keyboards/handwired/promethium/keymaps/default/keymap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/handwired/promethium/keymaps/default/keymap.c b/keyboards/handwired/promethium/keymaps/default/keymap.c
index b09e30457c..14a293bb39 100644
--- a/keyboards/handwired/promethium/keymaps/default/keymap.c
+++ b/keyboards/handwired/promethium/keymaps/default/keymap.c
@@ -84,7 +84,6 @@ enum glow_modes {
uint8_t glow_mode = GLOW_MIN;
void turn_off_capslock(void);
-extern keymap_config_t keymap_config;
// layers, ordering is important!
enum layers {
@@ -987,7 +986,7 @@ void process_doublespace(bool pressed, bool *isactive, bool *otheractive, bool *
}
#endif
-uint32_t layer_state_set_kb(uint32_t state)
+layer_state_t layer_state_set_user(layer_state_t state)
{
// turn on punc layer if both fun & num are on
if ((state & ((1UL<<_NUM) | (1UL<<_FUN))) == ((1UL<<_NUM) | (1UL<<_FUN))) {