Browse Source

Fixed compile errors, stabilizing master branch

QGC4.4
pixhawk 15 years ago
parent
commit
809f55d259
  1. 2
      qgroundcontrol.pri
  2. 2
      src/uas/UAS.cc

2
qgroundcontrol.pri

@ -140,7 +140,7 @@ macx { @@ -140,7 +140,7 @@ macx {
# osg/osgEarth dynamic casts might fail without this compiler option.
# see http://osgearth.org/wiki/FAQ for details.
QMAKE_CXXFLAGS += -Wl,-E
#QMAKE_CXXFLAGS += -Wl,-E
}
# GNU/Linux

2
src/uas/UAS.cc

@ -637,7 +637,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message) @@ -637,7 +637,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
for (int i=0; i<MAVLINK_MSG_RADIO_CALIBRATION_FIELD_THROTTLE_LEN; ++i)
throttle << radioMsg.throttle[i];
QPointer<RadioCalibrationData> radioData = new RadioCalibrationData(aileron,
QPointer<RadioCalibrationData> radioData = new RadioCalibrationData(aileron, elevator, rudder, gyro, pitch, throttle);
emit radioCalibrationReceived(radioData);
delete radioData;
}

Loading…
Cancel
Save