mirror of https://github.com/ARMmbed/mbed-os.git
Remove unused is_fPort_allowed method
parent
a9e1076572
commit
e097429b69
|
@ -1331,14 +1331,6 @@ void LoRaMac::reset_mac_parameters(void)
|
|||
_params.last_channel_idx = _params.channel;
|
||||
}
|
||||
|
||||
bool LoRaMac::is_fPort_allowed (uint8_t fPort)
|
||||
{
|
||||
if ((fPort == 0) || (fPort > 224)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void LoRaMac::open_continuous_rx2_window (void)
|
||||
{
|
||||
handle_rx2_timer_event();
|
||||
|
|
|
@ -540,11 +540,6 @@ private:
|
|||
*/
|
||||
lorawan_status_t send_frame_on_channel(uint8_t channel);
|
||||
|
||||
/**
|
||||
* Checks for Port validity.
|
||||
*/
|
||||
bool is_fPort_allowed(uint8_t fPort);
|
||||
|
||||
/**
|
||||
* Prototypes for ISR handlers
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue