mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
FIX: flash chip already defined errors. (#12024)
This commit is contained in:
parent
71b64794ea
commit
5f9e4d051f
1 changed files with 3 additions and 3 deletions
|
@ -249,15 +249,15 @@
|
|||
#define USE_FLASH_TOOLS
|
||||
#endif
|
||||
|
||||
#if defined(USE_FLASH_W25M512) || defined(USE_FLASH_W25Q128FV)
|
||||
#if (defined(USE_FLASH_W25M512) || defined(USE_FLASH_W25Q128FV)) && !defined(USE_FLASH_M25P16)
|
||||
#define USE_FLASH_M25P16
|
||||
#endif
|
||||
|
||||
#if defined(USE_FLASH_W25M02G)
|
||||
#if defined(USE_FLASH_W25M02G) && !defined(USE_FLASH_W25N01G)
|
||||
#define USE_FLASH_W25N01G
|
||||
#endif
|
||||
|
||||
#if defined(USE_FLASH_M25P16) || defined(USE_FLASH_W25N01G)
|
||||
#if (defined(USE_FLASH_M25P16) || defined(USE_FLASH_W25N01G)) && !defined(USE_FLASH_W25M)
|
||||
#define USE_FLASH_W25M
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue