1
0
Fork 0
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:
J Blackman 2022-12-04 08:06:03 +11:00 committed by GitHub
parent 8e33385eb5
commit 40de3fd4d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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