mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 09:45:33 +03:00
Allow different M25P16 chips; Fix BJF4 revision detection
This commit is contained in:
parent
77c5bd1170
commit
37de7009c4
4 changed files with 11 additions and 10 deletions
|
@ -612,10 +612,10 @@ void init(void)
|
|||
#ifdef USE_FLASHFS
|
||||
#ifdef NAZE
|
||||
if (hardwareRevision == NAZE32_REV5) {
|
||||
m25p16_init();
|
||||
m25p16_init(0);
|
||||
}
|
||||
#elif defined(USE_FLASH_M25P16)
|
||||
m25p16_init();
|
||||
m25p16_init(0);
|
||||
#endif
|
||||
|
||||
flashfsInit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue