Skip to content

Commit

Permalink
Fix build using different names for aws clients
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Jul 17, 2024
1 parent aacc9eb commit 4494969
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Client& getDefaultClient() {

#ifdef BOARD_HAS_WIFI
case NetworkAdapter::WIFI:
static WiFiClient client;
return client;
static WiFiClient wclient;
return wclient;
#endif

#ifdef BOARD_HAS_ETHERNET
case NetworkAdapter::ETHERNET:
static EthernetClient client;
return client;
static EthernetClient eclient;
return eclient;
#endif

default:
Expand Down

0 comments on commit 4494969

Please sign in to comment.