Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Commits
1e9e07a9
Commit
1e9e07a9
authored
4 years ago
by
schneider
Browse files
Options
Downloads
Patches
Plain Diff
fix(ble): Dont report missed scan events
parent
8c7cd9ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!392
Show COVID-19 exposure notification statistics
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
epicardium/ble/ble_main.c
+4
-1
4 additions, 1 deletion
epicardium/ble/ble_main.c
with
4 additions
and
1 deletion
epicardium/ble/ble_main.c
+
4
−
1
View file @
1e9e07a9
...
...
@@ -593,7 +593,10 @@ static void trigger_event(enum ble_event_type event)
{
bool
enabled
;
epic_interrupt_is_enabled
(
EPIC_INT_BLE
,
&
enabled
);
if
(
ble_event
&&
enabled
)
{
/* Print a warning if the app is missing events. Missing scan results
* is considered OK though, as they are queued and periodic. */
if
(
ble_event
&&
enabled
&&
ble_event
!=
BLE_EVENT_SCAN_REPORT
)
{
LOG_WARN
(
"ble"
,
"Application missed event %u"
,
ble_event
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment