Do only set the MacDone if the MAC is not in class c

pull/6411/head
Kimmo Vaisanen 2018-02-16 13:53:07 +02:00 committed by Antti Kauppila
parent 6114f2b3d5
commit fc1696b74f
1 changed files with 3 additions and 1 deletions

View File

@ -744,7 +744,9 @@ void LoRaMac::on_radio_rx_error( void )
mlme.get_confirmation().status = LORAMAC_EVENT_INFO_STATUS_RX2_ERROR;
_params.flags.bits.mac_done = 1;
if (_params.dev_class != CLASS_C) {
_params.flags.bits.mac_done = 1;
}
}
}