summaryrefslogtreecommitdiffstats
path: root/keyboards/jm60/jm60.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jm60/jm60.c')
-rw-r--r--keyboards/jm60/jm60.c4
1 files changed, 4 insertions, 0 deletions
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;
+}