mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 10:58:30 -04:00
don't initialise DataFlash if logging is disabled
This commit is contained in:
parent
85e8316809
commit
06ddaa2d81
@ -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