This commit is contained in:
2025-03-16 19:56:39 +01:00
parent 76ad8c4ecf
commit 28a943737e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -601,7 +601,7 @@ void set_rds_ps(RDSEncoder* enc, char *ps) {
while (*ps != 0 && len < PS_LENGTH) enc->data[enc->program].ps[len++] = *ps++;
}
void set_rds_dps1(RDSEncoder* enc, char *dps1) {
uint8_t i = 0, len = 0;
uint8_t len = 0;
memset(enc->data[enc->program].dps1, ' ', RT_LENGTH);
while (*dps1 != 0 && len < RT_LENGTH) enc->data[enc->program].rt1[len++] = *dps1++;