diff options
Diffstat (limited to 'keyboards/matrix/m20add')
-rw-r--r-- | keyboards/matrix/m20add/boards/m20add_bd/board.c | 2 | ||||
-rw-r--r-- | keyboards/matrix/m20add/config.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/matrix/m20add/boards/m20add_bd/board.c b/keyboards/matrix/m20add/boards/m20add_bd/board.c index 95d9045a0c..fa5723ec2b 100644 --- a/keyboards/matrix/m20add/boards/m20add_bd/board.c +++ b/keyboards/matrix/m20add/boards/m20add_bd/board.c @@ -208,8 +208,6 @@ static void stm32_gpio_init(void) { * else. */ void __early_init(void) { - extern void enter_bootloader_mode_if_requested(void); - enter_bootloader_mode_if_requested(); stm32_gpio_init(); stm32_clock_init(); diff --git a/keyboards/matrix/m20add/config.h b/keyboards/matrix/m20add/config.h index 3164346495..f404ef9ccd 100644 --- a/keyboards/matrix/m20add/config.h +++ b/keyboards/matrix/m20add/config.h @@ -5,6 +5,8 @@ #pragma once +#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE + /* USB Device descriptor parameter */ #define VENDOR_ID 0x4D58 // MX #define PRODUCT_ID 0x20AD // 8XV2.0 Additional @@ -94,5 +96,3 @@ #define DRIVER_ADDR_1 0b1110100 #define DRIVER_COUNT 1 #define DRIVER_LED_TOTAL RGBLED_NUM - -#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE // disable jump to system bootloader |