Commit 3ffc6835 authored by Lorenz Meier's avatar Lorenz Meier

Improved airframe config and removed debug output

parent 863c9f70
......@@ -1864,7 +1864,6 @@ void UAS::sendMessage(mavlink_message_t message)
{
if (link->isConnected())
sendMessage(link, message);
qDebug() << "SENT MESSAGE id" << message.msgid << "component" << message.compid;
}
else
{
......
......@@ -161,7 +161,7 @@ void QGCPX4AirframeConfig::setAirframeID(int id)
ui->flyingWingComboBox->setCurrentIndex(ui->flyingWingComboBox->findData(id));
ui->statusLabel->setText(tr("Selected flying wing (ID: #%1)").arg(selectedId));
}
else if (id >= 100 && id < 150)
else if (id >= 100 && id < 150 || id >= 1000 <= 2000)
{
ui->planePushButton->setChecked(true);
ui->planeComboBox->setCurrentIndex(ui->planeComboBox->findData(id));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment