diff options
Diffstat (limited to 'layouts/community/ortho_4x12/drashna/keymap.c')
-rw-r--r-- | layouts/community/ortho_4x12/drashna/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/community/ortho_4x12/drashna/keymap.c b/layouts/community/ortho_4x12/drashna/keymap.c index 82594b9fd..1384221b5 100644 --- a/layouts/community/ortho_4x12/drashna/keymap.c +++ b/layouts/community/ortho_4x12/drashna/keymap.c | |||
@@ -368,7 +368,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { | |||
368 | #endif // ENCODER_ENABLE | 368 | #endif // ENCODER_ENABLE |
369 | 369 | ||
370 | #ifdef KEYBOARD_planck_rev6 | 370 | #ifdef KEYBOARD_planck_rev6 |
371 | void dip_update(uint8_t index, bool active) { | 371 | bool dip_switch_update_user(uint8_t index, bool active) { |
372 | switch (index) { | 372 | switch (index) { |
373 | case 0: | 373 | case 0: |
374 | if (active) { | 374 | if (active) { |
@@ -391,6 +391,7 @@ void dip_update(uint8_t index, bool active) { | |||
391 | userspace_config.nuke_switch = active; | 391 | userspace_config.nuke_switch = active; |
392 | break; | 392 | break; |
393 | } | 393 | } |
394 | return true; | ||
394 | } | 395 | } |
395 | #endif // KEYBOARD_planck_rev6 | 396 | #endif // KEYBOARD_planck_rev6 |
396 | 397 | ||