diff --git a/src/ui/designer/QGCActionButton.cc b/src/ui/designer/QGCActionButton.cc index fe59d62..3bb9671 100644 --- a/src/ui/designer/QGCActionButton.cc +++ b/src/ui/designer/QGCActionButton.cc @@ -24,6 +24,7 @@ const char* kActionLabels[MAV_ACTION_NB] = "CALIBRATE RC", "CALIBRATE GYRO", "CALIBRATE MAG", + "CALIBRATE ACC", "CALIBRATE PRESSURE", "START REC", "PAUSE REC", diff --git a/src/ui/map3D/Pixhawk3DWidget.cc b/src/ui/map3D/Pixhawk3DWidget.cc index a3ed155..27dc8ac 100644 --- a/src/ui/map3D/Pixhawk3DWidget.cc +++ b/src/ui/map3D/Pixhawk3DWidget.cc @@ -574,8 +574,6 @@ Pixhawk3DWidget::display(void) lastRobotZ = robotZ; recenterCamera(robotY, robotX, -robotZ); - - return; } if (followCamera)