summaryrefslogtreecommitdiff
path: root/keyboards/xiaomi/mk02/mk02.c
blob: d3ecc155f1f7de1bfbb7a5c854872494e587929f (plain)
1
2
3
4
5
6
7
8
#include "mk02.h"

void bootloader_jump(void) {
    uint32_t *magic_address = (void*)0x20000FFC;
    *magic_address = 0x626c6472;

    NVIC_SystemReset();
}