From 7adb446081775feb74a2d25eae2810ede40473da Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Thu, 15 Oct 2020 17:21:31 +0200 Subject: [PATCH] Fixed display brightness and discovery speed --- OmobiDisplayApp/QBluetoothLeUart | 2 +- OmobiDisplayApp/omobidisplaybackend.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); }