mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
properly reference dvbs2_signal_info
This commit is contained in:
parent
d398909c1d
commit
50cf06cbb8
@ -413,7 +413,7 @@ static int get_snr(struct dvb_frontend *fe)
|
|||||||
|
|
||||||
p->cnr.len = 1;
|
p->cnr.len = 1;
|
||||||
p->cnr.stat[0].scale = FE_SCALE_DECIBEL;
|
p->cnr.stat[0].scale = FE_SCALE_DECIBEL;
|
||||||
p->cnr.stat[0].svalue = (s64) state->dvbs2_signal_info.signal_to_noise * 100;
|
p->cnr.stat[0].svalue = (s64) state->signal_info.dvbs2_signal_info.signal_to_noise * 100;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user