]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - tmk_core/common/bootmagic.c
xt_usb: Fix XT soft reset
[max/tmk_keyboard.git] / tmk_core / common / bootmagic.c
index 61236becb33f9b4038f7bfdad1241e363b134a4f..eb06d7874da2fc1963e2a3bb7ea2c58e7f4ebcfe 100644 (file)
@@ -10,6 +10,7 @@
 #include "action_layer.h"
 #include "eeconfig.h"
 #include "bootmagic.h"
+#include "hook.h"
 
 keymap_config_t keymap_config;
 
@@ -41,6 +42,9 @@ void bootmagic(void)
         bootloader_jump();
     }
 
+    /* user-defined checks */
+    hook_bootmagic();
+
     /* debug enable */
     debug_config.raw = eeconfig_read_debug();
     if (bootmagic_scan_key(BOOTMAGIC_KEY_DEBUG_ENABLE)) {