some cleanup
This commit is contained in:
parent
130213d09d
commit
bb3b71e1a8
3 changed files with 3 additions and 4 deletions
|
@ -141,7 +141,7 @@ public slots:
|
||||||
* \brief Function to pair all extensions that are currently connected via USB to the base station
|
* \brief Function to pair all extensions that are currently connected via USB to the base station
|
||||||
* \return whether the pairing was successfull
|
* \return whether the pairing was successfull
|
||||||
*/
|
*/
|
||||||
bool pairConnectedUsbExtensions();
|
int pairConnectedUsbExtensions();
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Function to write a setting on the base station
|
* \brief Function to write a setting on the base station
|
||||||
|
|
|
@ -409,10 +409,9 @@ bool ScStwClient::isFirmwareUpToDate() {
|
||||||
// --- helper functions ---
|
// --- helper functions ---
|
||||||
// ------------------------
|
// ------------------------
|
||||||
|
|
||||||
bool ScStwClient::pairConnectedUsbExtensions() {
|
int ScStwClient::pairConnectedUsbExtensions() {
|
||||||
QVariantMap ret = this->sendCommand(5002, "", 10000);
|
QVariantMap ret = this->sendCommand(5002, "", 10000);
|
||||||
qDebug() << ret;
|
return ret["status"].toInt();
|
||||||
return ScStw::StatusCode(ret["status"].toInt()) == ScStw::Success;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ScStw::StatusCode ScStwClient::writeRemoteSetting(ScStw::BaseStationSetting key, QString value) {
|
ScStw::StatusCode ScStwClient::writeRemoteSetting(ScStw::BaseStationSetting key, QString value) {
|
||||||
|
|
Binary file not shown.
Reference in a new issue