Skip to content
Snippets Groups Projects
Commit 371f4ba6 authored by Daniel Campora's avatar Daniel Campora
Browse files

cc3200: Wrap antenna_init0() with #if MICROPY_HW_ANTENNA_DIVERSITY.

parent 0aa5e750
Branches
No related tags found
No related merge requests found
...@@ -398,8 +398,10 @@ void pybsleep_suspend_exit (void) { ...@@ -398,8 +398,10 @@ void pybsleep_suspend_exit (void) {
// ungate the clock to the shared spi bus // ungate the clock to the shared spi bus
MAP_PRCMPeripheralClkEnable(PRCM_SSPI, PRCM_RUN_MODE_CLK | PRCM_SLP_MODE_CLK); MAP_PRCMPeripheralClkEnable(PRCM_SSPI, PRCM_RUN_MODE_CLK | PRCM_SLP_MODE_CLK);
#if MICROPY_HW_ANTENNA_DIVERSITY
// re-configure the antenna selection pins // re-configure the antenna selection pins
antenna_init0(); antenna_init0();
#endif
// reinitialize simplelink's interface // reinitialize simplelink's interface
sl_IfOpen (NULL, 0); sl_IfOpen (NULL, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment