diff --git a/features/lorawan/lorastack/mac/LoRaMac.cpp b/features/lorawan/lorastack/mac/LoRaMac.cpp index e8eda9000a..f686d569a2 100644 --- a/features/lorawan/lorastack/mac/LoRaMac.cpp +++ b/features/lorawan/lorastack/mac/LoRaMac.cpp @@ -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(); diff --git a/features/lorawan/lorastack/mac/LoRaMac.h b/features/lorawan/lorastack/mac/LoRaMac.h index 0b333e972c..5e9c233a22 100644 --- a/features/lorawan/lorastack/mac/LoRaMac.h +++ b/features/lorawan/lorastack/mac/LoRaMac.h @@ -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 */