From 2b0f5a3f9a953ae916f84361a0b95ac9794200bc Mon Sep 17 00:00:00 2001 From: Andy Lindsay Date: Mon, 7 Jan 2019 14:03:54 -0800 Subject: [PATCH] Test fix for issue #181 Unwanted wifi library activity on P0 --- .../Network/libwifi/cmm/libwifi.a | Bin 41800 -> 41812 bytes Learn/Simple Libraries/Network/libwifi/stop.c | 2 +- Learn/Simple Libraries/Network/libwifi/wifi.c | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Learn/Simple Libraries/Network/libwifi/cmm/libwifi.a b/Learn/Simple Libraries/Network/libwifi/cmm/libwifi.a index c712a347d70debd512df1832d33d17d5d3611b72..b47611b25e2f6ce46c4c82992b7f022ef49c18af 100644 GIT binary patch delta 2301 zcmb`JUr19?9LImh?M^MLng8Zgc5~&V5pHwsPc$(ogi2$gVNkM2h((a2EParJu!j^9 z=?4|qgY*Xq3XBucgMu$ffrXJ&4+Rnt1yS_pNrF1(Zo6)ym+tAZ&+qK}*?wo|-gDvZ z@qEG3e8GgB`U9bG$m3~NRgWr;?5e7PK)|PIHMRzT90#z!{y%Jb55S?K7^0yEKnC|B zfP0aOVhryLfDFN_06{8>1T9MdGSIeG02$gp0!Toia}cEH=>sqh-~V2}9Pt={VJL4t z^;3>B%K%29qH*Y!9JC9-AXIBi?go%y%m!c#zWJ}d@RyZD&I`M7lV~Ei{H+bMKV&D zmzlsvk>BR!cX{~}?&>Q$VoqD}n-v6LHJibe&cc<#_uu}!9O0S2G{on7^YTI5?l_-) zq42ZgA-k^bBiR>+t*h@g=ZKMpLy9h<$!fOZUdR<6ymQ&Y#vTQ$3$t3P*sqq3qN4Ou z*n?l}RV>~%YRNUF9SQTQdFHj@ihCts5_&tCAh=UB5Q-9bu~2Xna7Q zJ!R_ppX#%xO!2^N-T1Vw=R+6tnKfhbd9*u)Okt_79B1j~je)*cC4IpEBUDnYC=UEu zlOQ2HTI*DH^1T_vk+74T#Ct9muTiI{q|rr|@$LZ^X=UvrFA8wRT|&ILEm@aYwh#FU lvlGetxeH*Cu?qb}Qj1JXBy`iPEt_19>L-#iiOE-me*l%OAK?H1 delta 2243 zcmb`HO=uHA6vyA@8*NH!(5BIl4aBB3kz{K=E0kU&RJ7Wt7(qh7fD{TQV1*Xzv=Xo> zh$%1XAs6XMix(LWA|AY0B5fgH!4CxWq8F(jSFt*qCNUelxZ|+DxAXt+yq&jiVAq#5 zBZVyzI8AjW46zNcMrCa7cEcTwCHy&`eTd!$+WKK z$vf{5nzasGH7&2{gzvv3rAFVJ-p(wLk)Oxdq*YKB%yg})7 zk7OIWhmq|?m*T5>W9{JZo6SmZCLS~!T{N9+->z7(Fg9UO7<)5oI)%|Waj&sWv|7sR z$?J{cqu8D~jn9Znvy0#tGL7SImk_~)88=?eTCw6zV_?>Wl}kF|2MPlgnwfo~G54~D vYt1aMu^*#3d;QCzG?{CBLkNWtD;=KSS+8)*m@Z_MhWYkrz2w@8(o5rS@{R$u 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) {