From 5bcdcda0b8ab1e27e5966b56b06fd5cede2ed28b Mon Sep 17 00:00:00 2001 From: pennam Date: Wed, 22 May 2024 10:17:21 +0200 Subject: [PATCH] Fix build using different names for aws clients --- .../ArduinoIoTCloud-AWS-Basic.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/ArduinoIoTCloud-AWS-Basic/ArduinoIoTCloud-AWS-Basic.ino b/examples/ArduinoIoTCloud-AWS-Basic/ArduinoIoTCloud-AWS-Basic.ino index d713cfca..3213a3bf 100644 --- a/examples/ArduinoIoTCloud-AWS-Basic/ArduinoIoTCloud-AWS-Basic.ino +++ b/examples/ArduinoIoTCloud-AWS-Basic/ArduinoIoTCloud-AWS-Basic.ino @@ -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: