0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00
This commit is contained in:
2025-03-13 21:40:53 +01:00
parent 140d7da7b1
commit 74c383965e

View File

@@ -504,6 +504,7 @@ void set_rds_tps(unsigned char *tps) {
uint8_t len = 0;
if(tps[0] == '\0') {
rds_state.tps_update = 1;
memset(rds_data.tps, 0, PS_LENGTH);
return;
}
@@ -518,6 +519,7 @@ void set_rds_lps(unsigned char *lps) {
uint8_t i = 0, len = 0;
if(lps[0] == '\0') {
rds_state.lps_update = 1;
memset(rds_data.lps, 0, LPS_LENGTH);
return;
}