Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
371f4ba6
Commit
371f4ba6
authored
Jun 08, 2015
by
Daniel Campora
Browse files
cc3200: Wrap antenna_init0() with #if MICROPY_HW_ANTENNA_DIVERSITY.
parent
0aa5e750
Changes
1
Hide whitespace changes
Inline
Side-by-side
cc3200/mods/pybsleep.c
View file @
371f4ba6
...
...
@@ -398,8 +398,10 @@ void pybsleep_suspend_exit (void) {
// ungate the clock to the shared spi bus
MAP_PRCMPeripheralClkEnable
(
PRCM_SSPI
,
PRCM_RUN_MODE_CLK
|
PRCM_SLP_MODE_CLK
);
#if MICROPY_HW_ANTENNA_DIVERSITY
// re-configure the antenna selection pins
antenna_init0
();
#endif
// reinitialize simplelink's interface
sl_IfOpen
(
NULL
,
0
);
...
...
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