Remove unused is_fPort_allowed method

pull/6411/head
Kimmo Vaisanen 2018-02-19 08:46:41 +02:00 committed by Antti Kauppila
parent a9e1076572
commit e097429b69
2 changed files with 0 additions and 13 deletions

View File

@ -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();

View File

@ -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
*/