7
mirror of https://github.com/tenderlove/initial-v.git synced 2025-04-11 10:40:08 +00:00

work with latest esp-nimble-cpp

This commit is contained in:
Aaron Patterson 2023-02-13 15:57:17 -08:00
parent 9dddd311ec
commit b248c87e84
No known key found for this signature in database
GPG Key ID: 953170BCB4FFAFC6
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ class HIDDataCallbacks : public NimBLECharacteristicCallbacks
public:
HIDDataCallbacks(void) { }
void onWrite(NimBLECharacteristic* me) {
void onWrite(NimBLECharacteristic* me, NimBLEConnInfo& connInfo) {
size_t len = me->getDataLength();
const uint8_t *buff = me->getValue()->data();
handle_state_t tx_action;