Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
firmware
Commits
11a29eaa
Commit
11a29eaa
authored
Feb 06, 2021
by
schneider
Browse files
fix(mp-ble): Update att event data pointer
parent
866c77b5
Pipeline
#5147
passed with stages
in 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
epicardium/ble/epic_att_api.c
View file @
11a29eaa
...
...
@@ -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
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment