0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 12:53:53 +01:00
This commit is contained in:
2025-03-13 21:32:26 +01:00
parent 6e0aee654c
commit 478d274f7a
2 changed files with 1 additions and 2 deletions

View File

@@ -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]) {
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 */

View File

@@ -53,7 +53,6 @@ typedef struct rds_params_t {
/* Program Service */
unsigned char ps[PS_LENGTH];
/* Traffic PS */
uint8_t traffic_ps_on;
unsigned char tps[PS_LENGTH];
/* Radio Text */