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
866c77b5
Commit
866c77b5
authored
Feb 06, 2021
by
schneider
Browse files
fix(mp-ble): Use correct interrupt api
This fixes a potential system panic if there is already an interrupt pending
parent
09fd7099
Changes
1
Show whitespace changes
Inline
Side-by-side
epicardium/ble/epic_ble_api.c
View file @
866c77b5
...
...
@@ -2,7 +2,7 @@
#include
"epicardium.h"
#include
"modules/log.h"
#include
"
api/interrupt-sender
.h"
#include
"
modules/modules
.h"
#include
"wsf_buf.h"
#include
"app_api.h"
...
...
@@ -59,7 +59,7 @@ void ble_epic_ble_api_trigger_event(enum epic_ble_event_type type, void *data)
epic_ble_free_event
(
&
e
);
}
api_
interrupt_trigger
(
EPIC_INT_BLE
);
interrupt_trigger
(
EPIC_INT_BLE
);
}
else
{
epic_ble_free_event
(
&
e
);
}
...
...
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