diff --git a/keyboards/handwired/set_st/rp2040/rp2040.c b/keyboards/handwired/set_st/rp2040/extra.h similarity index 99% rename from keyboards/handwired/set_st/rp2040/rp2040.c rename to keyboards/handwired/set_st/rp2040/extra.h index ed8701ce24b..b1471c1bfc0 100644 --- a/keyboards/handwired/set_st/rp2040/rp2040.c +++ b/keyboards/handwired/set_st/rp2040/extra.h @@ -15,7 +15,6 @@ */ #include QMK_KEYBOARD_H -#include "keymap.c" #ifdef OLED_ENABLE diff --git a/keyboards/handwired/set_st/rp2040/keymaps/default/keymap.c b/keyboards/handwired/set_st/rp2040/keymaps/default/keymap.c index 900a910393e..f6d7f15575e 100644 --- a/keyboards/handwired/set_st/rp2040/keymaps/default/keymap.c +++ b/keyboards/handwired/set_st/rp2040/keymaps/default/keymap.c @@ -14,6 +14,7 @@ * along with this program. If not, see . */ + #include QMK_KEYBOARD_H enum keycodes { @@ -66,3 +67,5 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { [LIGHT] = { ENCODER_CCW_CW(_______, _______) } }; #endif + +#include "extra.h" \ No newline at end of file diff --git a/keyboards/handwired/set_st/rp2040/keymaps/via/keymap.c b/keyboards/handwired/set_st/rp2040/keymaps/via/keymap.c index fcf3373fdcf..f6d7f15575e 100644 --- a/keyboards/handwired/set_st/rp2040/keymaps/via/keymap.c +++ b/keyboards/handwired/set_st/rp2040/keymaps/via/keymap.c @@ -14,6 +14,7 @@ * along with this program. If not, see . */ + #include QMK_KEYBOARD_H enum keycodes { @@ -65,4 +66,6 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { [MEDIA] = { ENCODER_CCW_CW(_______, _______) }, [LIGHT] = { ENCODER_CCW_CW(_______, _______) } }; -#endif \ No newline at end of file +#endif + +#include "extra.h" \ No newline at end of file