diff --git a/application.c b/application.c index 16346eb..284e4f7 100644 --- a/application.c +++ b/application.c @@ -214,7 +214,7 @@ static void command_version(void* argument) } // show flash size printf("flash size: "); - if (0xffff==DESIG_FLASH_SIZE) { + if (0xffff == DESIG_FLASH_SIZE) { printf("unknown (probably a defective micro-controller\n"); } else { printf("%u KB\n", DESIG_FLASH_SIZE); @@ -284,11 +284,11 @@ static void command_bootloader(void* argument) static void process_command(char* str) { // ensure actions are available - if (NULL==menu_commands || 0==LENGTH(menu_commands)) { + if (NULL == menu_commands || 0 == LENGTH(menu_commands)) { return; } // don't handle empty lines - if (!str || 0==strlen(str)) { + if (!str || 0 == strlen(str)) { return; } bool command_handled = false; @@ -334,9 +334,9 @@ void main(void) 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) { - printf(" (software wachtdog used, not automatically started at reset)\n"); + printf(" (software watchdog used, not automatically started at reset)\n"); } else { - printf(" (hardware wachtdog used, automatically started at reset)\n"); + printf(" (hardware watchdog used, automatically started at reset)\n"); } #endif