summaryrefslogtreecommitdiff
path: root/rds.c
diff options
context:
space:
mode:
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) {