summaryrefslogtreecommitdiff
path: root/rds.c
diff options
context:
space:
mode:
authorJavier S. Pedro <javier@javispedro.com>2012-02-13 20:43:21 +0100
committerJavier S. Pedro <javier@javispedro.com>2012-02-13 20:43:21 +0100
commit25fa8dc39b10e8710d5818e51534d59e728ac641 (patch)
tree6882cd0a59a5995a329a3ef6393eb610d9c91930 /rds.c
parent3fbc3f186f8f7817be2ecbdcc7117bd294bb7d88 (diff)
downloadfmrxd-25fa8dc39b10e8710d5818e51534d59e728ac641.tar.gz
fmrxd-25fa8dc39b10e8710d5818e51534d59e728ac641.zip
add a workaround for non-v4l standard signal reporting
Diffstat (limited to 'rds.c')
-rw-r--r--rds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rds.c b/rds.c
index ed116a2..1c41d4d 100644
--- a/rds.c
+++ b/rds.c
@@ -25,7 +25,7 @@
#include "fmrxd.h"
-#if CRAPPY_WL1273_RDS
+#if WORKAROUND_BAD_WL1273_RDS
#define WL1273_RDS_BLOCK_A 0
#define WL1273_RDS_BLOCK_B 1
#define WL1273_RDS_BLOCK_C 2
@@ -190,7 +190,7 @@ static gboolean rds_callback(GIOChannel *source, GIOCondition condition,
int block;
bool error;
-#if CRAPPY_WL1273_RDS
+#if WORKAROUND_BAD_WL1273_RDS
block = rds.block & WL1273_RDS_BLOCK_MASK;
// The following is, in a "more" readable way, swapping 3 and 4.
switch (block) {