From 8286e2d7701e0f359440697a0d273ea594b9e207 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 15 Feb 2025 14:48:08 +0100 Subject: [PATCH] [CC1101] Use public frequency step and max packet length variables --- src/modules/CC1101/CC1101.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }