Skip to content

Commit 4c1fedd

Browse files
Applied suggested astyle fix(es)
1 parent 5beef74 commit 4c1fedd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/lorawan/lorastack/mac/LoRaMac.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,13 @@ bool LoRaMac::message_integrity_check(const uint8_t *const payload,
319319
sequence_counter_prev = (uint16_t) * downlink_counter;
320320
sequence_counter_diff = sequence_counter - sequence_counter_prev;
321321
*downlink_counter += sequence_counter_diff;
322-
322+
323323
if (sequence_counter_diff >= _lora_phy->get_maximum_frame_counter_gap()) {
324324
_mcps_indication.status = LORAMAC_EVENT_INFO_STATUS_DOWNLINK_TOO_MANY_FRAMES_LOST;
325325
_mcps_indication.dl_frame_counter = *downlink_counter;
326326
return false;
327327
}
328-
328+
329329
// sizeof nws_skey must be the same as _params.keys.nwk_skey,
330330
_lora_crypto.compute_mic(payload, size - LORAMAC_MFR_LEN,
331331
nwk_skey,
@@ -335,7 +335,7 @@ bool LoRaMac::message_integrity_check(const uint8_t *const payload,
335335
if (mic_rx != mic) {
336336
_mcps_indication.status = LORAMAC_EVENT_INFO_STATUS_MIC_FAIL;
337337
return false;
338-
}
338+
}
339339

340340
return true;
341341
}

0 commit comments

Comments
 (0)