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:
parent
5d49451916
commit
070b556a07
3 changed files with 29 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue