aboutsummaryrefslogtreecommitdiffstats
path: root/src/rds_mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rds_mod.c')
-rw-r--r--src/rds_mod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rds_mod.c b/src/rds_mod.c
index 8e31b0d..687aa65 100644
--- a/src/rds_mod.c
+++ b/src/rds_mod.c
@@ -38,8 +38,8 @@ extern double waveform_biphase[576];
struct {
uint16_t pi;
int ta;
- char ps[PS_LENGTH];
- char rt[RT_LENGTH];
+ char ps[PS_LENGTH+1];
+ char rt[RT_LENGTH+1];
} rds_params = { 0 };
/* The RDS error-detection code generator polynomial is