diff --git a/src/ui/designer/QGCActionButton.cc b/src/ui/designer/QGCActionButton.cc index fe59d62fb8d3872ddcb1d34ed013618f5c749a22..3bb9671dea47e9fbe270f282a4b9f922f16e35d6 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 a3ed155687c437dbb688f6ea4d73ac757fa7bde7..27dc8acf94cfbfe6a0939e6b6f3d5f1b24e9d0b5 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)