I used the filenames encoder.c and encoder.h in my userspace, which conflicts with QMK core, whoops
This commit is contained in:
parent
9dde29b829
commit
193b5f0abd
|
|
@ -1,4 +1,4 @@
|
|||
#include "encoder.h"
|
||||
#include "encoder_stuff.h"
|
||||
|
||||
__attribute__((weak)) bool encoder_update_keymap(uint8_t index, bool clockwise) { return true; }
|
||||
|
||||
|
|
@ -37,11 +37,10 @@ void encoder_update_user(uint8_t index, bool clockwise) {
|
|||
#endif
|
||||
}
|
||||
else{
|
||||
tap_code16(C(KC_LEFT));
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
rgblight_step_reverse();
|
||||
#else
|
||||
tap_code16(C(KC_RGHT));
|
||||
tap_code16(C(KC_LEFT));
|
||||
#endif
|
||||
}
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
|
|
@ -55,7 +55,7 @@ ifeq ($(strip $(RAW_ENABLE)), yes)
|
|||
endif
|
||||
|
||||
ifeq ($(strip $(ENCODER_ENABLE)), yes)
|
||||
SRC += encoder.c
|
||||
SRC += encoder_stuff.c
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(CASEMODES_ENABLE)), yes)
|
||||
|
|
|
|||
Loading…
Reference in New Issue