mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
[OP-1105] uncrustified
This commit is contained in:
parent
329ea821f8
commit
9c7fcbe47c
@ -199,8 +199,7 @@ void ConfigPipXtremeWidget::updateStatus(UAVObject *object)
|
||||
} else {
|
||||
m_oplink->FirmwareVersion->setText(tr("Unknown"));
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
qDebug() << "ConfigPipXtremeWidget: Failed to read Description field.";
|
||||
}
|
||||
|
||||
|
@ -306,6 +306,7 @@ QString UAVObjectUtilManager::getBoardDescriptionString()
|
||||
QByteArray arr = getBoardDescription();
|
||||
|
||||
int index = arr.indexOf(255);
|
||||
|
||||
return QString((index == -1) ? arr : arr.left(index));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user