diff --git a/src/modules/CC1101/CC1101.cpp b/src/modules/CC1101/CC1101.cpp index 288be633..e3628a52 100644 --- a/src/modules/CC1101/CC1101.cpp +++ b/src/modules/CC1101/CC1101.cpp @@ -2,7 +2,9 @@ #include #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; }