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