mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 12:53:53 +01:00
what?
This commit is contained in:
@@ -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] |= ((rds_data.di >> (3 - ps_csegment)) & INT8_0) << 2;
|
||||||
blocks[1] |= ps_csegment;
|
blocks[1] |= ps_csegment;
|
||||||
blocks[2] = get_next_af();
|
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];
|
blocks[3] = tps_text[ps_csegment * 2] << 8 | tps_text[ps_csegment * 2 + 1];
|
||||||
} else {
|
} else {
|
||||||
/* TODO: Add DPS */
|
/* TODO: Add DPS */
|
||||||
|
|||||||
@@ -53,7 +53,6 @@ typedef struct rds_params_t {
|
|||||||
/* Program Service */
|
/* Program Service */
|
||||||
unsigned char ps[PS_LENGTH];
|
unsigned char ps[PS_LENGTH];
|
||||||
/* Traffic PS */
|
/* Traffic PS */
|
||||||
uint8_t traffic_ps_on;
|
|
||||||
unsigned char tps[PS_LENGTH];
|
unsigned char tps[PS_LENGTH];
|
||||||
|
|
||||||
/* Radio Text */
|
/* Radio Text */
|
||||||
|
|||||||
Reference in New Issue
Block a user