application: remove watchdog info (not F4 compatible)

This commit is contained in:
King Kévin 2021-03-24 17:05:21 +01:00
parent 64706680c2
commit 0047fb8fea
1 changed files with 0 additions and 11 deletions

View File

@ -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: ");