diff --git a/src/modules/SX128x/SX128x.cpp b/src/modules/SX128x/SX128x.cpp index 45db25f9..7fae6712 100644 --- a/src/modules/SX128x/SX128x.cpp +++ b/src/modules/SX128x/SX128x.cpp @@ -424,6 +424,10 @@ int16_t SX128x::scanChannel() { ChannelScanConfig_t config = { .cad = { .symNum = RADIOLIB_SX128X_CAD_PARAM_DEFAULT, + .detPeak = 0, + .detMin = 0, + .exitMode = 0, + .timeout = 0, .irqFlags = RADIOLIB_IRQ_NOT_SUPPORTED, }, }; @@ -674,6 +678,10 @@ int16_t SX128x::startChannelScan() { ChannelScanConfig_t config = { .cad = { .symNum = RADIOLIB_SX128X_CAD_PARAM_DEFAULT, + .detPeak = 0, + .detMin = 0, + .exitMode = 0, + .timeout = 0, .irqFlags = RADIOLIB_IRQ_NOT_SUPPORTED, }, };