mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
add level command via mavlink, and fix fall through
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2877 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
e34d21958f
commit
67c2003bf0
@ -317,8 +317,15 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
||||
|
||||
case MAV_ACTION_CALIBRATE_GYRO:
|
||||
case MAV_ACTION_CALIBRATE_MAG:
|
||||
case MAV_ACTION_CALIBRATE_ACC:
|
||||
case MAV_ACTION_CALIBRATE_PRESSURE:
|
||||
break;
|
||||
|
||||
case MAV_ACTION_CALIBRATE_ACC:
|
||||
imu.init_accel();
|
||||
result=1;
|
||||
break;
|
||||
|
||||
|
||||
//case MAV_ACTION_REBOOT: // this is a rough interpretation
|
||||
//startup_IMU_ground();
|
||||
//result=1;
|
||||
|
Loading…
Reference in New Issue
Block a user