summaryrefslogtreecommitdiff
path: root/keyboards/jm60
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jm60')
-rw-r--r--keyboards/jm60/boards/JM60_BOARD/board.c2
-rw-r--r--keyboards/jm60/jm60.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/jm60/boards/JM60_BOARD/board.c b/keyboards/jm60/boards/JM60_BOARD/board.c
index 48844e34a6..41a603b951 100644
--- a/keyboards/jm60/boards/JM60_BOARD/board.c
+++ b/keyboards/jm60/boards/JM60_BOARD/board.c
@@ -46,6 +46,4 @@ void __early_init(void) {
* Board-specific initialization code.
*/
void boardInit(void) {
- AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE;
-
}
diff --git a/keyboards/jm60/jm60.c b/keyboards/jm60/jm60.c
index d8fe9cecc1..f7b434f30e 100644
--- a/keyboards/jm60/jm60.c
+++ b/keyboards/jm60/jm60.c
@@ -16,3 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "jm60.h"
+
+void board_init(void) {
+ AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE;
+}