From 6f8bbca2bfdbe25ade23b9bbf407b634ad6088ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Tue, 13 Feb 2018 17:33:06 +0100 Subject: [PATCH] always enable debug (to need to save power) --- application.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/application.c b/application.c index 8815cd9..326f54f 100644 --- a/application.c +++ b/application.c @@ -284,12 +284,10 @@ void main(void) { rcc_clock_setup_in_hse_8mhz_out_72mhz(); // use 8 MHz high speed external clock to generate 72 MHz internal clock -#if DEBUG // enable functionalities for easier debug DBGMCU_CR |= DBGMCU_CR_STANDBY; // allow debug also in standby mode (keep digital part and clock powered) DBGMCU_CR |= DBGMCU_CR_STOP; // allow debug also in stop mode (keep clock powered) DBGMCU_CR |= DBGMCU_CR_SLEEP; // allow debug also in sleep mode (keep clock powered) -#endif board_setup(); // setup board uart_setup(); // setup USART (for printing)