summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/layer1/prim_rx_nb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/firmware/layer1/prim_rx_nb.c')
-rw-r--r--src/target/firmware/layer1/prim_rx_nb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/target/firmware/layer1/prim_rx_nb.c b/src/target/firmware/layer1/prim_rx_nb.c
index 3b647fa6..6b5ce57f 100644
--- a/src/target/firmware/layer1/prim_rx_nb.c
+++ b/src/target/firmware/layer1/prim_rx_nb.c
@@ -46,6 +46,7 @@
#include <layer1/tpu_window.h>
#include <layer1/l23_api.h>
#include <layer1/rfch.h>
+#include <layer1/prim.h>
#include <l1ctl_proto.h>
@@ -142,6 +143,9 @@ static int l1s_nb_resp(__unused uint8_t p1, uint8_t burst_id, uint16_t p3)
rxnb.dl->fire_crc = ((dsp_api.ndb->a_cd[0] & 0xffff) & ((1 << B_FIRE1) | (1 << B_FIRE0))) >> B_FIRE0;
+ /* update rx level for pm report */
+ pu_update_rx_level(rxnb.dl->rx_level);
+
/* copy actual data, skipping the information block [0,1,2] */
for (j = 0,i = 3; i < 15; i++) {
rxnb.di->data[j++] = dsp_api.ndb->a_cd[i] & 0xFF;