mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
GCS Config: Crashing for an unknown board seems a bit harsh.
This commit is contained in:
parent
43e6b38b54
commit
5f80268396
@ -233,7 +233,7 @@ void ConfigGadgetWidget::onAutopilotConnect() {
|
||||
ftw->setCurrentIndex(ConfigGadgetWidget::hardware);
|
||||
} else {
|
||||
//Unknown board
|
||||
Q_ASSERT(0);
|
||||
qDebug() << "Unknown board " << board;
|
||||
}
|
||||
}
|
||||
emit autopilotConnected();
|
||||
|
Loading…
Reference in New Issue
Block a user