diff --git a/src/modules/RFM9x/RFM95.h b/src/modules/RFM9x/RFM95.h index aa555103..18d2a91e 100644 --- a/src/modules/RFM9x/RFM95.h +++ b/src/modules/RFM9x/RFM95.h @@ -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 diff --git a/src/modules/RFM9x/RFM96.h b/src/modules/RFM9x/RFM96.h index 3c1d1f82..51bd481a 100644 --- a/src/modules/RFM9x/RFM96.h +++ b/src/modules/RFM9x/RFM96.h @@ -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