update HAP write cb signature

This commit is contained in:
hathach committed 2018-01-11 17:17:39 +07:00
1 parent ac7c1b4e47
commit 3b37b42bcd
3 files changed
+4 -4

No files matched your search

@@ -315,7 +315,7 @@ void HAPCharacteristic::_eventHandler(ble_evt_t* event)
case HAP_OPCODE_CHR_WRITE:
if (_hap_wr_cb)
{
hap_resp = _hap_wr_cb(*this, gatt_req, hap_req);
hap_resp = _hap_wr_cb(this, gatt_req, hap_req);
}
break;