Skip to content

Commit

Permalink
UNO R4 WiFi suppress unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Jun 25, 2024
1 parent be59d24 commit 605e16b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/tls/utility/TLSClientMqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ void TLSClientMqtt::begin(ConnectionHandler & connection) {
* also present in older firmware revisions
* https://github.com/arduino/uno-r4-wifi-usb-bridge/blob/f09ca94fdcab845b8368d4435fdac9f6999d21d2/certificates/certificates.pem#L852
*/
(void)connection;
#elif defined(ARDUINO_ARCH_ESP32)
setCACertBundle(x509_crt_bundle);
#elif defined(ARDUINO_ARCH_ESP8266)
Expand Down
1 change: 1 addition & 0 deletions src/tls/utility/TLSClientOta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ void TLSClientOta::begin(ConnectionHandler &connection) {
/* AWS Root CAs are configured in uno-r4-wifi-usb-bridge/libraries/Arduino_ESP32_OTA
* https://github.com/arduino-libraries/Arduino_ESP32_OTA/blob/fc755e7d1d3946232107e2590662ee08d6ccdec4/src/tls/amazon_root_ca.h
*/
(void)connection;
#elif defined(ARDUINO_ARCH_ESP32)
setCACertBundle(x509_crt_bundle);
#elif defined(ARDUINO_ARCH_ESP8266)
Expand Down

0 comments on commit 605e16b

Please sign in to comment.