diff options
author | Javier S. Pedro <javier@javispedro.com> | 2012-02-13 20:43:21 +0100 |
---|---|---|
committer | Javier S. Pedro <javier@javispedro.com> | 2012-02-13 20:43:21 +0100 |
commit | 25fa8dc39b10e8710d5818e51534d59e728ac641 (patch) | |
tree | 6882cd0a59a5995a329a3ef6393eb610d9c91930 /rds.c | |
parent | 3fbc3f186f8f7817be2ecbdcc7117bd294bb7d88 (diff) | |
download | fmrxd-25fa8dc39b10e8710d5818e51534d59e728ac641.tar.gz fmrxd-25fa8dc39b10e8710d5818e51534d59e728ac641.zip |
add a workaround for non-v4l standard signal reporting
Diffstat (limited to 'rds.c')
-rw-r--r-- | rds.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |