Skip to content

Commit

Permalink
[RFM9x] Fixed missing default argument for beginFSK (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Aug 20, 2022
1 parent 30cb7c8 commit bedbf7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/RFM9x/RFM95.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class RFM95: public SX1278 {
\returns \ref status_codes
*/
int16_t beginFSK(float freq, float br, float freqDev, float rxBw, int8_t power, uint16_t preambleLength, bool enableOOK);
int16_t beginFSK(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 125.0, int8_t power = 10, uint16_t preambleLength = 16, bool enableOOK = false);

// configuration methods

Expand Down
2 changes: 1 addition & 1 deletion src/modules/RFM9x/RFM96.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class RFM96: public SX1278 {
\returns \ref status_codes
*/
int16_t beginFSK(float freq, float br, float freqDev, float rxBw, int8_t power, uint16_t preambleLength, bool enableOOK);
int16_t beginFSK(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 125.0, int8_t power = 10, uint16_t preambleLength = 16, bool enableOOK = false);

// configuration methods

Expand Down

0 comments on commit bedbf7b

Please sign in to comment.