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); /*