summaryrefslogtreecommitdiff
path: root/keyboards/owlab/voice65/hotswap/hotswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/owlab/voice65/hotswap/hotswap.c')
-rw-r--r--keyboards/owlab/voice65/hotswap/hotswap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/owlab/voice65/hotswap/hotswap.c b/keyboards/owlab/voice65/hotswap/hotswap.c
index 343daafeb2..ca5ce7bb8b 100644
--- a/keyboards/owlab/voice65/hotswap/hotswap.c
+++ b/keyboards/owlab/voice65/hotswap/hotswap.c
@@ -123,9 +123,9 @@ void rgb_matrix_indicators_user(void)
}
enum encoder_modes{
- ENCODER_MODE_ONE = 0,
+ ENCODER_MODE_ONE,
ENCODER_MODE_TWO,
- ENCODER_MODE_THREE,
+ ENCODER_MODE_THREE
};
keyboard_config_t keyboard_config;
@@ -260,7 +260,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
break;
case KC_F22: //change encoder mode upward
-
if(!encoder_direction_start){
if(keyboard_config.encoder_mode_index < ENCODER_MODE_THREE){
keyboard_config.encoder_mode_index++;
@@ -271,7 +270,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
set_encoder_mode(keyboard_config.encoder_mode_index);
}
return false;
-
case KC_F23:
if(!encoder_direction_start){
if(keyboard_config.encoder_mode_index > ENCODER_MODE_ONE){