1
0
Fork 0
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:
Konstantin Sharlaimov (DigitalEntity) 2017-12-15 22:08:25 +10:00
parent 77c5bd1170
commit 37de7009c4
4 changed files with 11 additions and 10 deletions

View file

@ -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();