Commit 11a29eaa authored by schneider's avatar schneider
Browse files

fix(mp-ble): Update att event data pointer

parent 866c77b5
Pipeline #5147 passed with stages
in 50 seconds
......@@ -41,6 +41,7 @@ void ble_epic_att_api_event(attEvt_t *att_event)
if (e) {
memcpy(e, att_event, sizeof(*e));
memcpy(e + 1, att_event->pValue, value_len);
e->pValue = (uint8_t *)(e + 1);
ble_epic_ble_api_trigger_event(BLE_EVENT_ATT_EVENT, e);
} else {
LOG_WARN(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment