1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Avoid to print Warning Messages on Arduino monitor.

Add debug command on wifi shield to enable debug msgs.
Solved issue on repeat quick refresh or stop and go web server
This commit is contained in:
Mimmo La Fauci
2012-02-10 00:49:42 +01:00
parent 4558c021b7
commit fa9393f7c4
6 changed files with 67 additions and 64 deletions

View File

@ -1,8 +1,6 @@
#include "wifi_drv.h"
#include "WiFi.h"
#define _DEBUG_
extern "C" {
#include "utility/wl_definitions.h"
#include "utility/wl_types.h"
@ -101,6 +99,7 @@ int WiFiClass::begin(char* ssid, const char *passphrase)
{
delay(WL_DELAY_START_CONNECTION);
status = WiFiDrv::getConnectionStatus();
INFO("Status: %d", status);
}
while ((( status == WL_IDLE_STATUS)||(status == WL_SCAN_COMPLETED))&&(--attempts>0));
}else{