mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
GCS Config: Crashing for an unknown board seems a bit harsh.
This commit is contained in:
parent
ec85cd7305
commit
298b052c7d
@ -240,7 +240,7 @@ void ConfigGadgetWidget::onAutopilotConnect() {
|
||||
ftw->setCurrentIndex(ConfigGadgetWidget::hardware);
|
||||
} else {
|
||||
//Unknown board
|
||||
Q_ASSERT(0);
|
||||
qDebug() << "Unknown board " << board;
|
||||
}
|
||||
}
|
||||
emit autopilotConnected();
|
||||
|
Loading…
x
Reference in New Issue
Block a user