2
0
Fork 0
mirror of https://github.com/h2zero/esp-nimble-cpp.git synced 2025-04-12 14:57:21 +02:00

[Bugfix] Incorrect onSubscribe value when indications are set.

This commit is contained in:
h2zero 2025-03-28 16:56:54 -06:00
parent 723cdf0a66
commit 01976cec54

View file

@ -445,7 +445,7 @@ int NimBLEServer::handleGapEvent(ble_gap_event* event, void* arg) {
chr->m_pCallbacks->onSubscribe(chr,
peerInfo,
event->subscribe.cur_notify + event->subscribe.cur_indicate);
event->subscribe.cur_notify + (event->subscribe.cur_indicate << 1));
}
}
}