[RF69] Use public frequency step and max packet length variables
This commit is contained in:
parent
e4daea6251
commit
558e60b18d
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#if !RADIOLIB_EXCLUDE_RF69
|
#if !RADIOLIB_EXCLUDE_RF69
|
||||||
|
|
||||||
RF69::RF69(Module* module) : PhysicalLayer(RADIOLIB_RF69_FREQUENCY_STEP_SIZE, RADIOLIB_RF69_MAX_PACKET_LENGTH) {
|
RF69::RF69(Module* module) : PhysicalLayer() {
|
||||||
|
this->freqStep = RADIOLIB_RF69_FREQUENCY_STEP_SIZE;
|
||||||
|
this->maxPacketLength = RADIOLIB_RF69_MAX_PACKET_LENGTH;
|
||||||
this->mod = module;
|
this->mod = module;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue