1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Fix STM32H750 target support (#12091)

This commit is contained in:
Dominic Clifton 2022-12-29 05:37:47 +01:00 committed by GitHub
parent dbc647d464
commit fae746d908
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 165 additions and 22 deletions

View file

@ -117,13 +117,14 @@ static bool flashQuadSpiInit(const flashConfig_t *flashConfig)
}
#endif
}
if (detected) {
flashDevice.geometry.jedecId = chipID;
}
}
phase++;
} while (phase != BAIL && !detected);
if (detected) {
flashDevice.geometry.jedecId = chipID;
}
return detected;
}
#endif // USE_QUADSPI