1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-05 13:16:13 +03:00

Changed wifi_drv.cpp and wl_definitions.h to allow for shield detection

This commit is contained in:
Tom Igoe
2012-05-31 12:15:49 -04:00
parent a69cd64d5b
commit 6e60b13013
2 changed files with 3 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ uint8_t WiFiDrv::getConnectionStatus()
SpiDrv::waitForSlaveReady();
// Wait for reply
uint8_t _data = 0;
uint8_t _data = -1;
uint8_t _dataLen = 0;
SpiDrv::waitResponseCmd(GET_CONN_STATUS_CMD, PARAM_NUMS_1, &_data, &_dataLen);