Skip to content

Commit

Permalink
Merge pull request #73 from mcci-catena/issue72
Browse files Browse the repository at this point in the history
Fixed platformio compile warning.
  • Loading branch information
chwon64 authored Dec 28, 2018
2 parents f6a42ea + d8a2dc3 commit 287b129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Arduino_LoRaWAN.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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);

/*
Expand Down

0 comments on commit 287b129

Please sign in to comment.