Merge remote-tracking branch 'origin/master'

This commit is contained in:
Dorian Zedler 2020-05-10 17:57:59 +02:00
commit 66a6ea6297
Signed by: dorian
GPG key ID: 989DE36109AFA354
7 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 44 KiB

BIN
favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
favicon.xcf Normal file

Binary file not shown.

BIN
faviconNoOutline.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB