forked from h2zero/esp-nimble-cpp
[Bugfix] Incorrect onSubscribe value when indications are set.
This commit is contained in:
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user