Skip to content

Commit 78bff5d

Browse files
committed
Fix build using different names for aws clients
1 parent e283233 commit 78bff5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/ArduinoIoTCloud-AWS-Basic/ArduinoIoTCloud-AWS-Basic.ino

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ Client& getDefaultClient() {
1414

1515
#ifdef BOARD_HAS_WIFI
1616
case NetworkAdapter::WIFI:
17-
static WiFiClient client;
18-
return client;
17+
static WiFiClient wclient;
18+
return wclient;
1919
#endif
2020

2121
#ifdef BOARD_HAS_ETHERNET
2222
case NetworkAdapter::ETHERNET:
23-
static EthernetClient client;
24-
return client;
23+
static EthernetClient eclient;
24+
return eclient;
2525
#endif
2626

2727
default:

0 commit comments

Comments
 (0)