From 4646e04d1f74cf32f62b1911f467ede79828333f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Redon?= Date: Wed, 27 Jun 2018 16:25:35 +0200 Subject: [PATCH] DFU: remove force bootloader button debug message since the console is output message is not initialized yet Change-Id: Ibea0105929a8dc38b43dacd9d1e576d7b51d0c6a --- firmware/libboard/simtrace/source/board_simtrace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/libboard/simtrace/source/board_simtrace.c b/firmware/libboard/simtrace/source/board_simtrace.c index 04a32499..90bf9bc5 100644 --- a/firmware/libboard/simtrace/source/board_simtrace.c +++ b/firmware/libboard/simtrace/source/board_simtrace.c @@ -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;