apps/gmr1_rx: Fix wrong initial value for bcch_energy

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2011-11-19 19:19:09 +01:00
parent 800942cd0a
commit 1e7e483ff6
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ process_bcch(struct chan_desc *cd)
{
int frame_len;
int sirfn;
float bcch_energy;
float bcch_energy = nan("inf");
fprintf(stderr, "[+] Processing BCCH @%d (%.3f ms). [freq_err = %.1f Hz]\n",
cd->align, to_ms(cd, cd->align), to_hz(cd->freq_err));