keyboard/qmk/keyboards/xiaomi/mk02/mk02.c

9 lines
157 B
C
Raw Normal View History

#include "mk02.h"
void bootloader_jump(void) {
uint32_t *magic_address = (void*)0x20000FFC;
*magic_address = 0x626c6472;
NVIC_SystemReset();
}