From 0047fb8fea2c81ab51d6de5c6ae3027dca11f73f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Wed, 24 Mar 2021 17:05:21 +0100 Subject: [PATCH] application: remove watchdog info (not F4 compatible) --- application.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/application.c b/application.c index 4b2bda5..f9dfa52 100644 --- a/application.c +++ b/application.c @@ -661,17 +661,6 @@ void main(void) RCC_CSR |= RCC_CSR_RMVF; // clear reset flags } #endif -#if !(DEBUG) - // show watchdog information - printf("setup watchdog: %.2fs", WATCHDOG_PERIOD / 1000.0); - if (FLASH_OBR & FLASH_OBR_OPTERR) { - puts(" (option bytes not set in flash: software watchdog used, not automatically started at reset)\n"); - } else if (FLASH_OBR & FLASH_OBR_WDG_SW) { - puts(" (software watchdog used, not automatically started at reset)\n"); - } else { - puts(" (hardware watchdog used, automatically started at reset)\n"); - } -#endif // setup RTC puts("setup RTC: ");