Skip to content

Commit

Permalink
Add return statement on Arduino_LoRaWAN::setFrequency
Browse files Browse the repository at this point in the history
Missing return statement on Arduino_LoRaWAN::setFrequency - causes compile errors. Could be related to an earlier issue I raised? mcci-catena#181
  • Loading branch information
olicooper authored Jul 31, 2022
1 parent aba13fb commit 810d332
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Arduino_LoRaWAN.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ class Arduino_LoRaWAN
chPtr[0] = uint8_t(reducedFreq >> 16);
chPtr[1] = uint8_t(reducedFreq >> 8);
chPtr[2] = uint8_t(reducedFreq);

return true;
}

/// \brief clear all entries in the channel table.
Expand Down

0 comments on commit 810d332

Please sign in to comment.