summaryrefslogtreecommitdiffstats
path: root/src/af903x-fe.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2012-02-21 15:56:32 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2012-02-21 15:56:32 (GMT)
commitd4d33edc348288ac00daf5fea7f1b7b291f2a3c9 (patch)
treebf1f75316eade6b15201d2502d7d16668353b9ec /src/af903x-fe.c
parent44c4451c208b7f89e130506281e463c11f3c3118 (diff)
downloadAF903x_SRC-d4d33edc348288ac00daf5fea7f1b7b291f2a3c9.zip
AF903x_SRC-d4d33edc348288ac00daf5fea7f1b7b291f2a3c9.tar.gz
AF903x_SRC-d4d33edc348288ac00daf5fea7f1b7b291f2a3c9.tar.bz2
Fixed some build issues
(lots remaining)
Diffstat (limited to 'src/af903x-fe.c')
-rw-r--r--src/af903x-fe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/af903x-fe.c b/src/af903x-fe.c
index f9b12c0..aee8948 100644
--- a/src/af903x-fe.c
+++ b/src/af903x-fe.c
@@ -130,12 +130,12 @@ static int af903x_read_ber(struct dvb_frontend *fe, u32 *ber)
static int af903x_read_snr(struct dvb_frontend* fe, u16 *snr)
{
- *snr = 0;
-
DWORD error = Error_NO_ERROR;
Constellation constellation;
BYTE SignalSnr = 0;
+ *snr = 0;
+
error = DL_getSNR(fe->dvb->num, &constellation, &SignalSnr);
if(error) return error;