1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

remove wrong strength conversion

This commit is contained in:
Ralph Metzler 2018-05-25 00:08:27 +02:00
parent c471123f17
commit 09c068c74c

View File

@ -138,7 +138,7 @@ static int get_strength(struct dvb_frontend *fe)
struct dtv_frontend_properties *p = &fe->dtv_property_cache; struct dtv_frontend_properties *p = &fe->dtv_property_cache;
s32 str; s32 str;
str = 100000 - (state->signal_info.dvbs2_signal_info.channel_power * 10 + 108750); str = state->signal_info.dvbs2_signal_info.channel_power * 10;
p->strength.len = 1; p->strength.len = 1;
p->strength.stat[0].scale = FE_SCALE_DECIBEL; p->strength.stat[0].scale = FE_SCALE_DECIBEL;
p->strength.stat[0].svalue = str; p->strength.stat[0].svalue = str;