mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 07:45:29 +03:00
FIX: USE_FLASH_W25M not executing flash detection (#12039)
This commit is contained in:
parent
8e33385eb5
commit
40de3fd4d7
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ static bool flashSpiInit(const flashConfig_t *flashConfig)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_FLASH_W25M512
|
||||
#if defined(USE_FLASH_W25M512) || defined(USE_FLASH_W25M)
|
||||
if (w25m_detect(&flashDevice, chipID)) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue