diff --git a/src/devices/trxappgateusbelliptical/trxappgateusbelliptical.cpp b/src/devices/trxappgateusbelliptical/trxappgateusbelliptical.cpp index ce479b9fe..6890b234c 100644 --- a/src/devices/trxappgateusbelliptical/trxappgateusbelliptical.cpp +++ b/src/devices/trxappgateusbelliptical/trxappgateusbelliptical.cpp @@ -395,3 +395,6 @@ void trxappgateusbelliptical::controllerStateChanged(QLowEnergyController::Contr } uint16_t trxappgateusbelliptical::watts() { return m_watt.value(); } + + +void trxappgateusbelliptical::searchingStop() { searchStopped = true; } diff --git a/src/devices/trxappgateusbelliptical/trxappgateusbelliptical.h b/src/devices/trxappgateusbelliptical/trxappgateusbelliptical.h index 1f9630e44..09c1c8d64 100644 --- a/src/devices/trxappgateusbelliptical/trxappgateusbelliptical.h +++ b/src/devices/trxappgateusbelliptical/trxappgateusbelliptical.h @@ -72,6 +72,7 @@ class trxappgateusbelliptical : public elliptical { bool noHeartService = false; uint8_t counterPoll = 0; + bool searchStopped = false; #ifdef Q_OS_IOS lockscreen *h = 0; @@ -83,6 +84,7 @@ class trxappgateusbelliptical : public elliptical { public slots: void deviceDiscovered(const QBluetoothDeviceInfo &device); + void searchingStop(); private slots: