DFU: remove force bootloader button debug message since the console is output message is not initialized yet

Change-Id: Ibea0105929a8dc38b43dacd9d1e576d7b51d0c6a
This commit is contained in:
Kévin Redon
2018-06-27 16:25:35 +02:00
committed by King Kévin
parent 8fa6ff5979
commit 8210ec3f62

View File

@@ -44,7 +44,8 @@ int board_override_enter_dfu(void)
/* Enter DFU bootloader in case the respective button is pressed */
if (PIO_Get(&bl_sw_pin) == 0) {
printf("BOOTLOADER switch presssed -> Force DFU\n\r");
/* do not print to early since the console is not initialized yet */
//printf("BOOTLOADER switch pressed -> Force DFU\n\r");
return 1;
} else
return 0;