Skip to content
Snippets Groups Projects
Commit 11a29eaa authored by schneider's avatar schneider
Browse files

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

parent 866c77b5
No related branches found
No related tags found
1 merge request!454BLE fixes
Pipeline #5147 passed
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment