mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
don't initialise DataFlash if logging is disabled
This commit is contained in:
parent
01e5ae2ab9
commit
c61fe55d76
@ -222,7 +222,9 @@ static void init_ardupilot()
|
||||
// Logging:
|
||||
// --------
|
||||
// DataFlash log initialization
|
||||
#if LOGGING_ENABLED == ENABLED
|
||||
DataFlash.Init();
|
||||
#endif
|
||||
|
||||
#if CLI_ENABLED == ENABLED
|
||||
// If the switch is in 'menu' mode, run the main menu.
|
||||
|
Loading…
Reference in New Issue
Block a user