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:
Kevin Redon 2018-06-27 16:25:35 +02:00
parent 216a2149e1
commit 4646e04d1f
1 changed files with 2 additions and 1 deletions

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;