diff --git a/OmobiDisplayApp/QBluetoothLeUart b/OmobiDisplayApp/QBluetoothLeUart index 45ce9b1..76e4575 160000 --- a/OmobiDisplayApp/QBluetoothLeUart +++ b/OmobiDisplayApp/QBluetoothLeUart @@ -1 +1 @@ -Subproject commit 45ce9b1cd7372d12bcd0dc35a1387456785c0a3c +Subproject commit 76e457593e889885fd410fdbcdd659706a1eceb8 diff --git a/OmobiDisplayApp/omobidisplaybackend.cpp b/OmobiDisplayApp/omobidisplaybackend.cpp index b4dcef9..f9017a6 100644 --- a/OmobiDisplayApp/omobidisplaybackend.cpp +++ b/OmobiDisplayApp/omobidisplaybackend.cpp @@ -276,7 +276,7 @@ void OmobiDisplayBackend::setDisplayBrightness(int brightness) { this->displayBrightness = brightness; - this->sendBluetoothCommand(SetDisplayBrightnessCommand, this->displayBrightness); + this->sendBluetoothCommand(SetDisplayBrightnessCommand, QVariantMap{{"displayBrightness",this->displayBrightness}}); emit this->displayBrightnessChanged(); }