add ifdef to WIFI_Reset

This commit is contained in:
wntrmute 2011-06-18 03:02:46 +00:00
parent da92d102f4
commit f165ec8b9f
1 changed files with 2 additions and 0 deletions

View File

@ -648,6 +648,7 @@ void WIFI_DeInit()
void WIFI_Reset()
{
#ifdef EXPERIMENTAL_WIFI_COMM
//memset(&wifiMac, 0, sizeof(wifimac_t));
WIFI_resetRF(&wifiMac.RF);
@ -683,6 +684,7 @@ void WIFI_Reset()
wifi_lastmode = CommonSettings.wifi.mode;
bWFCUserWarned = false;
#endif
}