@@ -800,7 +800,7 @@ bool LoRaWANStack::is_port_valid(const uint8_t port, bool allow_port_0)
800
800
// Application should not use reserved and illegal port numbers.
801
801
if (port == 0 ) {
802
802
return allow_port_0;
803
- } else if (port == COMPLIANCE_TESTING_PORT){
803
+ } else if (port == COMPLIANCE_TESTING_PORT) {
804
804
#if !defined(LORAWAN_COMPLIANCE_TEST)
805
805
return false ;
806
806
#endif
@@ -943,9 +943,9 @@ void LoRaWANStack::mlme_confirm_handler()
943
943
944
944
if (_callbacks.link_check_resp ) {
945
945
const int ret = _queue->call (
946
- _callbacks.link_check_resp ,
947
- _loramac.get_mlme_confirmation ()->demod_margin ,
948
- _loramac.get_mlme_confirmation ()->nb_gateways );
946
+ _callbacks.link_check_resp ,
947
+ _loramac.get_mlme_confirmation ()->demod_margin ,
948
+ _loramac.get_mlme_confirmation ()->nb_gateways );
949
949
MBED_ASSERT (ret != 0 );
950
950
(void ) ret;
951
951
}
@@ -1057,17 +1057,17 @@ void LoRaWANStack::mcps_indication_handler()
1057
1057
if ((_loramac.get_device_class () != CLASS_C
1058
1058
&& mcps_indication->fpending_status )
1059
1059
|| (_loramac.get_device_class () == CLASS_C
1060
- && mcps_indication->type == MCPS_CONFIRMED)) {
1060
+ && mcps_indication->type == MCPS_CONFIRMED)) {
1061
1061
#if (MBED_CONF_LORA_AUTOMATIC_UPLINK_MESSAGE)
1062
- // Do not queue an automatic uplink of there is one already outgoing
1063
- // This means we have not received an ack for the previous automatic uplink
1064
- if (!_automatic_uplink_ongoing) {
1065
- tr_debug (" Sending empty uplink message..." );
1066
- _automatic_uplink_ongoing = true ;
1067
- const int ret = _queue->call (this , &LoRaWANStack::send_automatic_uplink_message, mcps_indication->port );
1068
- MBED_ASSERT (ret != 0 );
1069
- (void )ret;
1070
- }
1062
+ // Do not queue an automatic uplink of there is one already outgoing
1063
+ // This means we have not received an ack for the previous automatic uplink
1064
+ if (!_automatic_uplink_ongoing) {
1065
+ tr_debug (" Sending empty uplink message..." );
1066
+ _automatic_uplink_ongoing = true ;
1067
+ const int ret = _queue->call (this , &LoRaWANStack::send_automatic_uplink_message, mcps_indication->port );
1068
+ MBED_ASSERT (ret != 0 );
1069
+ (void )ret;
1070
+ }
1071
1071
#else
1072
1072
send_event_to_application (UPLINK_REQUIRED);
1073
1073
#endif
@@ -1193,7 +1193,7 @@ void LoRaWANStack::process_joining_state(lorawan_status_t &op_status)
1193
1193
}
1194
1194
1195
1195
if (_device_current_state == DEVICE_STATE_AWAITING_JOIN_ACCEPT &&
1196
- _loramac.get_current_slot () != RX_SLOT_WIN_1) {
1196
+ _loramac.get_current_slot () != RX_SLOT_WIN_1) {
1197
1197
_device_current_state = DEVICE_STATE_JOINING;
1198
1198
// retry join
1199
1199
bool can_continue = _loramac.continue_joining_process ();
0 commit comments