application: minor, redability

This commit is contained in:
King Kévin 2019-12-30 17:18:25 +01:00
parent fda7619e9f
commit b42d704435
1 changed files with 1 additions and 1 deletions

View File

@ -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;