fix issue 502

to identify quad over mavlink
This commit is contained in:
Michael Oborne 2012-02-03 06:53:08 +08:00
parent be625c6df6
commit 484b688700
1 changed files with 2 additions and 1 deletions

View File

@ -205,7 +205,8 @@ static void init_ardupilot()
// identify ourselves correctly with the ground station
mavlink_system.sysid = g.sysid_this_mav;
mavlink_system.type = 2; //MAV_QUADROTOR;
#if LOGGING_ENABLED == ENABLED
DataFlash.Init();
if (!DataFlash.CardInserted()) {