We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d301a5 commit 1745bf5Copy full SHA for 1745bf5
src/stlink-lib/chipid.c
@@ -83,6 +83,7 @@ void process_chipfile(char *fname) {
83
} else if (strcmp(word, "flash_type") == 0) {
84
buf[strlen(buf) - 1] = 0; // chomp newline
85
sscanf(buf, "%*s %n", &nc);
86
+ // Match human readable flash_type with enum stm32_flash_type { }.
87
if (strcmp(value, "F0_F1_F3") == 0) {
88
ts->flash_type = STM32_FLASH_TYPE_F0_F1_F3;
89
} else if (strcmp(value, "F1_XL") == 0) {
0 commit comments