ArduPlane: init DataFlash obj
This commit is contained in:
parent
00cd4b1857
commit
c441f02426
@ -133,6 +133,7 @@ static void init_ardupilot()
|
||||
mavlink_system.sysid = g.sysid_this_mav;
|
||||
|
||||
#if LOGGING_ENABLED == ENABLED
|
||||
DataFlash.Init();
|
||||
if (!DataFlash.CardInserted()) {
|
||||
gcs_send_text_P(SEVERITY_LOW, PSTR("No dataflash card inserted"));
|
||||
g.log_bitmask.set(0);
|
||||
|
Loading…
Reference in New Issue
Block a user