summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-03-21 08:18:04 +0000
committerQMK Bot <hello@qmk.fm>2023-03-21 08:18:04 +0000
commit0dad14dc819adc19e94c913de79638a8ec25e139 (patch)
tree1d2933a9dc61095c001e47ae0b7c1d84239cb77b /keyboards
parent280153b8f9c91eca98b81b3a6bff9541bf8eb1b5 (diff)
parent650a0b8ad4425510fc76dc787e63f399d35036c2 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/mechlovin/olly/orion/orion.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/keyboards/mechlovin/olly/orion/orion.c b/keyboards/mechlovin/olly/orion/orion.c
index 9f02f1a5fa..270683fa4c 100644
--- a/keyboards/mechlovin/olly/orion/orion.c
+++ b/keyboards/mechlovin/olly/orion/orion.c
@@ -16,13 +16,18 @@
#include "orion.h"
-void led_init_ports(void) {
+void board_init(void) {
+ //JTAG-DP Disabled and SW-DP Enabled
+ AFIO->MAPR = (AFIO->MAPR & ~AFIO_MAPR_SWJ_CFG_Msk) | AFIO_MAPR_SWJ_CFG_DISABLE;
+}
+
+void keyboard_pre_init_kb(void) {
setPinOutput(B5);
setPinOutput(B6);
setPinOutput(B7);
setPinOutput(B8);
setPinOutput(B9);
-
+ keyboard_pre_init_user();
}
layer_state_t layer_state_set_kb(layer_state_t state) {