Skip to content

Commit 760feda

Browse files
committed
fix: restore hasNotify variable removed by previous refactor
1 parent 1f62e14 commit 760feda

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/devices/wahookickruntreadmill/wahookickruntreadmill.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ void wahookickruntreadmill::stateChanged(QLowEnergyService::ServiceState state)
294294
QString::number(c.handle(), 16));
295295
}
296296

297+
bool hasNotify = c.properties() & QLowEnergyCharacteristic::Notify;
298+
297299
// Subscribe to all notify/indicate characteristics
298300
if (hasNotify) {
299301
QByteArray descriptor;

0 commit comments

Comments
 (0)