i2c timeout change + remove some wifi test code used for led fix - release

This commit is contained in:
Philippe G
2020-09-01 13:40:25 -07:00
parent 9a9a4fef65
commit 94da8ca950
5 changed files with 7 additions and 21 deletions

View File

@@ -95,10 +95,6 @@ void cb_connection_sta_disconnected(void *pvParameter){
bWifiConnected=false;
xEventGroupClearBits(wifi_event_group, CONNECTED_BIT);
}
void cb_connection_sta_connected(void *pvParameter){
}
bool wait_for_wifi(){
bool connected=(xEventGroupGetBits(wifi_event_group) & CONNECTED_BIT)!=0;
if(!connected){
@@ -467,7 +463,6 @@ void app_main()
* This can be either after we're started the AP mode, or after we've started the STA mode */
wifi_manager_set_callback(ORDER_START_AP, &start_telnet);
wifi_manager_set_callback(ORDER_CONNECT_STA, &start_telnet);
wifi_manager_set_callback(EVENT_STA_CONNECTED, &cb_connection_sta_connected);
}
console_start();