diff --git a/application.c b/application.c index c7bb9d6..f893950 100644 --- a/application.c +++ b/application.c @@ -189,7 +189,7 @@ static void command_version(void* argument) // 0x430: XL-density, 768-1024 kB flash // 0x418: connectivity printf("device family: "); - switch (DBGMCU_IDCODE&DBGMCU_IDCODE_DEV_ID_MASK) { + switch (DBGMCU_IDCODE & DBGMCU_IDCODE_DEV_ID_MASK) { case 0: // this is a known issue document in STM32F10xxC/D/E Errata sheet, without workaround printf("unreadable\n"); break;