fix issue 502

to identify quad over mavlink
This commit is contained in:
Michael Oborne 2012-02-03 06:53:08 +08:00
parent a2c671dc77
commit 151479f769
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()) {