summaryrefslogtreecommitdiff
path: root/lora_pkt_fwd
diff options
context:
space:
mode:
Diffstat (limited to 'lora_pkt_fwd')
-rw-r--r--lora_pkt_fwd/src/lora_pkt_fwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lora_pkt_fwd/src/lora_pkt_fwd.c b/lora_pkt_fwd/src/lora_pkt_fwd.c
index cb467bc..fa26a6e 100644
--- a/lora_pkt_fwd/src/lora_pkt_fwd.c
+++ b/lora_pkt_fwd/src/lora_pkt_fwd.c
@@ -3129,7 +3129,7 @@ void thread_jit(void) {
}
if (duty_cycle_enabled) {
- time_on_air = (uint32_t)lgw_time_on_air(packet); /* in ms */
+ time_on_air = (uint32_t)lgw_time_on_air(&pkt); /* in ms */
if (duty_cycle_time_avail >= time_on_air) {
duty_cycle_time_avail -= time_on_air;