We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7916004 commit 06fdaa1Copy full SHA for 06fdaa1
libraries/WiFi/examples/WiFiScanDualAntenna/WiFiScanDualAntenna.ino
@@ -18,7 +18,7 @@
18
19
void setup()
20
{
21
- bool err = ESP_FAIL;
+ bool err = false;
22
Serial.begin(115200);
23
24
// Set WiFi to station mode and disconnect from an AP if it was previously connected
@@ -36,7 +36,7 @@ void setup()
36
* https://docs.espressif.com/projects/arduino-esp32/en/latest/api/wifi.html
37
*/
38
39
- if(err == ESP_FAIL) {
+ if(err == false) {
40
Serial.println("Dual Antenna configuration failed!");
41
} else {
42
Serial.println("Dual Antenna configuration successfuly done!");
0 commit comments