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

Add USB MSC support for H7

This commit is contained in:
Steve Evans 2020-10-14 21:01:32 +01:00
parent ae62f46958
commit 31b06cd7d2
22 changed files with 204 additions and 52 deletions

View file

@ -402,6 +402,7 @@ const char *flashPartitionGetTypeName(flashPartitionType_e type)
bool flashInit(const flashConfig_t *flashConfig)
{
memset(&flashPartitionTable, 0x00, sizeof(flashPartitionTable));
flashPartitions = 0;
bool haveFlash = flashDeviceInit(flashConfig);