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
Merge requests
!395
fix(ble): Reduce scope of cricitcal section when initializing
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix(ble): Reduce scope of cricitcal section when initializing
schneider/ble-critical-section
into
master
Overview
1
Commits
1
Pipelines
1
Changes
2
Merged
schneider
requested to merge
schneider/ble-critical-section
into
master
4 years ago
Overview
1
Commits
1
Pipelines
1
Changes
2
Expand
Closes
#203 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
4882da8a
1 commit,
4 years ago
2 files
+
20
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
epicardium/ble/ble.c
+
6
−
2
Options
@@ -64,6 +64,7 @@ static bool log_enabled = false;
static
int
log_lastflushtick
=
0
;
/*! \brief Stack initialization for app. */
extern
void
LlStackInit
(
void
);
extern
void
StackInit
(
void
);
extern
void
bleuart_init
(
void
);
extern
void
bleFileTransfer_init
(
void
);
@@ -431,12 +432,15 @@ void vBleTask(void *pvParameters)
NVIC_EnableIRQ
(
RSV11_IRQn
);
WsfInit
();
taskENTER_CRITICAL
();
/* Critical section to prevent a loop in iq_capture2 / meas_freq in
* /home/maxim/Documents/src/BLE/mcbusw/Hardware/Micro/ME14/Firmware/trunk/NDALibraries/BTLE/phy/dbb/prot/ble/pan2g5/afe/max32665/board_config.c:275
* if BHI160 and -Ddebug_prints=true is enabled*/
StackInit
();
* if BHI160 and -Ddebug_prints=true is enabled
. See #115.
*/
Ll
StackInit
();
taskEXIT_CRITICAL
();
StackInit
();
BbBleDrvSetTxPower
(
0
);
setAddress
();
Loading