diff --git a/Learn/Simple Libraries/Network/libwifi/cmm/libwifi.a b/Learn/Simple Libraries/Network/libwifi/cmm/libwifi.a index c712a347..b47611b2 100644 Binary files a/Learn/Simple Libraries/Network/libwifi/cmm/libwifi.a and b/Learn/Simple Libraries/Network/libwifi/cmm/libwifi.a differ diff --git a/Learn/Simple Libraries/Network/libwifi/stop.c b/Learn/Simple Libraries/Network/libwifi/stop.c index a8e2160f..f2135f61 100644 --- a/Learn/Simple Libraries/Network/libwifi/stop.c +++ b/Learn/Simple Libraries/Network/libwifi/stop.c @@ -56,7 +56,7 @@ void wifi_stop(void) wifi_pin_do = 0; wifi_pin_di = 0; wifi_baud = 0; - wifi_comSelectPin = 0; + wifi_comSelectPin = -100; simpleterm_fromTxDo = 0; simpleterm_toRxDi = 0; diff --git a/Learn/Simple Libraries/Network/libwifi/wifi.c b/Learn/Simple Libraries/Network/libwifi/wifi.c index 42e467d3..4db1123c 100644 --- a/Learn/Simple Libraries/Network/libwifi/wifi.c +++ b/Learn/Simple Libraries/Network/libwifi/wifi.c @@ -21,7 +21,7 @@ fdserial *wifi_fds; int wifi_pin_do; int wifi_pin_di; int wifi_baud; -int wifi_comSelect; +int wifi_comSelectPin; int simpleterm_fromTxDo = 31; int simpleterm_toRxDi = 30; @@ -55,7 +55,7 @@ fdserial *wifi_start(int fromDO, int toDI, int baud, int comSelect) wifi_pin_do = fromDO; wifi_pin_di = toDI; wifi_baud = baud; - wifi_comSelect = comSelect; + wifi_comSelectPin = comSelect; if(comSelect == USB_PGM) {