mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-15 21:05:40 +08:00
don't initialise DataFlash if logging is disabled
this fixes HIL without an IMU
This commit is contained in:
1 parent
63ac6bcd94
commit
e7e8165bc7
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user