Skip to content

Commit d08d0d5

Browse files
committed
Fixed wrong variable being used to apply the multicast downlink data rate
1 parent b27aa87 commit d08d0d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mac/LoRaMacClassB.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ static void LoRaMacClassBProcessMulticastSlot( void )
11851185
( uint32_t ) Ctx.BeaconCtx.BeaconTimePrecision.SubSeconds );
11861186

11871187
RegionComputeRxWindowParameters( *Ctx.LoRaMacClassBParams.LoRaMacRegion,
1188-
ClassBNvm->PingSlotCtx.Datarate,
1188+
Ctx.PingSlotCtx.NextMulticastChannel->ChannelParams.RxParams.Params.ClassB.Datarate,
11891189
Ctx.LoRaMacClassBParams.LoRaMacParams->MinRxSymbols,
11901190
maxRxError,
11911191
&multicastSlotRxConfig );

0 commit comments

Comments
 (0)