From 119f79859381455030269f193b492f9486a14836 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Thu, 13 Mar 2025 21:32:52 +0100 Subject: [PATCH] i kinda hate c for this --- src/rds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rds.c b/src/rds.c index a1dcd94..1b218dc 100644 --- a/src/rds.c +++ b/src/rds.c @@ -105,7 +105,7 @@ static void get_rds_ps_group(uint16_t *blocks) { blocks[1] |= ((rds_data.di >> (3 - ps_csegment)) & INT8_0) << 2; blocks[1] |= ps_csegment; blocks[2] = get_next_af(); - if(rds_data.ta && tps_text[0] != "\0") { + if(rds_data.ta && tps_text[0] != '\0') { blocks[3] = tps_text[ps_csegment * 2] << 8 | tps_text[ps_csegment * 2 + 1]; } else { /* TODO: Add DPS */