cc3200: Wrap antenna_init0() with #if MICROPY_HW_ANTENNA_DIVERSITY.

pull/1318/head
Daniel Campora 2015-06-08 10:35:23 +02:00
rodzic 0aa5e75000
commit 371f4ba6b3
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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);