From 82fbb6bb0417675bd4be2286d978ab9f82620f88 Mon Sep 17 00:00:00 2001 From: Bartosz Podrygajlo Date: Mon, 27 Jan 2025 14:09:32 +0100 Subject: [PATCH] Remove unused noise_power_dB field in rfsimulator_state_t --- radio/rfsimulator/simulator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/radio/rfsimulator/simulator.c b/radio/rfsimulator/simulator.c index 262cb87deb..14be663d49 100644 --- a/radio/rfsimulator/simulator.c +++ b/radio/rfsimulator/simulator.c @@ -177,7 +177,6 @@ typedef struct { double chan_pathloss; double chan_forgetfact; uint64_t chan_offset; - float noise_power_dB; void *telnetcmd_qid; poll_telnetcmdq_func_t poll_telnetcmdq; int wait_timeout; @@ -456,7 +455,7 @@ static int rfsimu_setchanmod_cmd(char *buff, int debug, telnet_printfunc_t prnt, t->chan_forgetfact, // forgetting_factor t->chan_offset, // propagation delay in samples t->chan_pathloss, - t->noise_power_dB); // path_loss in dB + 0); // noise_power set_channeldesc_owner(newmodel, RFSIMU_MODULEID); set_channeldesc_name(newmodel,modelname); random_channel(newmodel,false);