lorawan: rename shadow variables

Rename shadow variables found by -Wshadow.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2023-08-09 15:04:09 -07:00 committed by Carles Cufí
parent 8bfdb23a08
commit 5395ddfeb2
1 changed files with 4 additions and 4 deletions

View File

@ -418,11 +418,11 @@ out:
* responsibility to increase datarates when ADR is enabled.
*/
if (!lorawan_adr_enable) {
MibRequestConfirm_t mib_req;
MibRequestConfirm_t mib_req2;
mib_req.Type = MIB_CHANNELS_DATARATE;
mib_req.Param.ChannelsDatarate = default_datarate;
LoRaMacMibSetRequestConfirm(&mib_req);
mib_req2.Type = MIB_CHANNELS_DATARATE;
mib_req2.Param.ChannelsDatarate = default_datarate;
LoRaMacMibSetRequestConfirm(&mib_req2);
}
/*