mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
don't initialise DataFlash if logging is disabled
this fixes HIL without an IMU
This commit is contained in:
parent
e927cf94d7
commit
dcc6f30af1
@ -151,7 +151,9 @@ static void init_ardupilot()
|
||||
*/
|
||||
#endif
|
||||
|
||||
#if LOGGING_ENABLED == ENABLED
|
||||
DataFlash.Init(); // DataFlash log initialization
|
||||
#endif
|
||||
|
||||
// Do GPS init
|
||||
g_gps = &g_gps_driver;
|
||||
|
Loading…
Reference in New Issue
Block a user