summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lora_pkt_fwd/src/lora_pkt_fwd.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lora_pkt_fwd/src/lora_pkt_fwd.c b/lora_pkt_fwd/src/lora_pkt_fwd.c
index 801f28d..0cbfbe5 100644
--- a/lora_pkt_fwd/src/lora_pkt_fwd.c
+++ b/lora_pkt_fwd/src/lora_pkt_fwd.c
@@ -2513,19 +2513,6 @@ void thread_down(void) {
jit_result = JIT_ERROR_TX_FREQ;
MSG("ERROR: Packet REJECTED, unsupported frequency - %u (min:%u,max:%u)\n", txpkt.freq_hz, tx_freq_min[txpkt.rf_chain], tx_freq_max[txpkt.rf_chain]);
}
- if (jit_result == JIT_ERROR_OK) {
- for (i=0; i<txlut.size; i++) {
- if (txlut.lut[i].rf_power == txpkt.rf_power) {
- /* this RF power is supported, we can continue */
- break;
- }
- }
- if (i == txlut.size) {
- /* this RF power is not supported */
- jit_result = JIT_ERROR_TX_POWER;
- MSG("ERROR: Packet REJECTED, unsupported RF power for TX - %d\n", txpkt.rf_power);
- }
- }
/* insert packet to be sent into JIT queue */
if (jit_result == JIT_ERROR_OK) {