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:
parent
723cdf0a66
commit
01976cec54
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue