mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
missing init for status
This commit is contained in:
parent
7a8d3f80c4
commit
a4c275895d
@ -1362,6 +1362,7 @@ static int read_status(struct dvb_frontend *fe, fe_status_t *status)
|
|||||||
u32 ber;
|
u32 ber;
|
||||||
s32 foff;
|
s32 foff;
|
||||||
|
|
||||||
|
*status = 0;
|
||||||
get_frequency_offset(state, &foff);
|
get_frequency_offset(state, &foff);
|
||||||
|
|
||||||
read_signal_strength(fe, &val);
|
read_signal_strength(fe, &val);
|
||||||
@ -1381,7 +1382,6 @@ static int read_status(struct dvb_frontend *fe, fe_status_t *status)
|
|||||||
if (CurReceiveMode == Mode_None) {
|
if (CurReceiveMode == Mode_None) {
|
||||||
set_vth(state);
|
set_vth(state);
|
||||||
//if( Time >= m_DemodTimeout ) *pLockStatus = NEVER_LOCK;
|
//if( Time >= m_DemodTimeout ) *pLockStatus = NEVER_LOCK;
|
||||||
*status = 0;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
*status |= 0x0f;
|
*status |= 0x0f;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user