From 2d46fcb0c0a3b715b65375866dfa1e79832d3665 Mon Sep 17 00:00:00 2001 From: ChaeHee Won Date: Thu, 27 Dec 2018 17:22:41 -0500 Subject: [PATCH] Fixed platformio compile warning. --- src/Arduino_LoRaWAN.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Arduino_LoRaWAN.h b/src/Arduino_LoRaWAN.h index 72e22b1..67651a2 100644 --- a/src/Arduino_LoRaWAN.h +++ b/src/Arduino_LoRaWAN.h @@ -140,7 +140,7 @@ class Arduino_LoRaWAN void clearAll() { - for (auto i = 0; i < nCh / 8; ++i) + for (auto i = 0u; i < nCh / 8; ++i) this->ChannelMask[i] = 0; } @@ -303,7 +303,7 @@ class Arduino_LoRaWAN || does not! */ bool begin(const Arduino_LMIC::HalPinmap_t *pPinmap); - bool begin(const Arduino_LMIC::HalPinmap_t &pinmap) { this->begin(&pinmap); }; + bool begin(const Arduino_LMIC::HalPinmap_t &pinmap) { return this->begin(&pinmap); }; bool begin(void); /*