]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - common/bootmagic.c
Squashed 'tmk_core/' changes from ee8c5ba..d5c5ac6
[max/tmk_keyboard.git] / common / bootmagic.c
index 08241f7de3d360ea7a0904ff305b7045d69fffe1..056806f23065dfec5be575e934c754e2be4312fb 100644 (file)
@@ -9,6 +9,7 @@
 #include "action_layer.h"
 #include "eeconfig.h"
 #include "bootmagic.h"
+#include "hook.h"
 
 keymap_config_t keymap_config;
 
@@ -40,6 +41,9 @@ void bootmagic(void)
         bootloader_jump();
     }
 
+    /* user-defined checks */
+    hook_bootmagic();
+
     /* debug enable */
     debug_config.raw = eeconfig_read_debug();
     if (bootmagic_scan_keycode(BOOTMAGIC_KEY_DEBUG_ENABLE)) {