1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Enable blackbox flash logging only on SPRacingF3 and Naze rev5 targets.

This commit is contained in:
Dominic Clifton 2015-02-22 21:40:29 +00:00
parent 5d49451916
commit 070b556a07
3 changed files with 29 additions and 5 deletions

View file

@ -365,10 +365,14 @@ void init(void)
#endif
#ifdef USE_FLASHFS
#ifdef NAZE
// naze32 rev5 and above have 16mbit of flash available
#ifdef NAZE
if (hardwareRevision == NAZE32_REV5) {
m25p16_init();
#endif
}
#endif
#ifdef SPRACINGF3
m25p16_init();
#endif
flashfsInit();
#endif