application: minor, spacing

This commit is contained in:
King Kévin 2019-12-21 19:26:58 +01:00
parent 4c24fc126b
commit 68bdfee641
1 changed files with 3 additions and 3 deletions

View File

@ -330,10 +330,10 @@ void main(void)
#if !(DEBUG)
// show watchdog information
printf("setup watchdog: %.2fs",WATCHDOG_PERIOD/1000.0);
if (FLASH_OBR&FLASH_OBR_OPTERR) {
printf("setup watchdog: %.2fs", WATCHDOG_PERIOD / 1000.0);
if (FLASH_OBR & FLASH_OBR_OPTERR) {
printf(" (option bytes not set in flash: software wachtdog used, not automatically started at reset)\n");
} else if (FLASH_OBR&FLASH_OBR_WDG_SW) {
} else if (FLASH_OBR & FLASH_OBR_WDG_SW) {
printf(" (software watchdog used, not automatically started at reset)\n");
} else {
printf(" (hardware watchdog used, automatically started at reset)\n");