mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 00:39:15 +02:00
change set lps logic
This commit is contained in:
@@ -879,7 +879,7 @@ void set_rds_lps(RDSEncoder* enc, char *lps) {
|
||||
memset(enc->data[enc->program].lps, 0, LPS_LENGTH);
|
||||
return;
|
||||
}
|
||||
memset(enc->data[enc->program].lps, '\r', LPS_LENGTH);
|
||||
memset(enc->data[enc->program].lps, ' ', LPS_LENGTH);
|
||||
while (*lps != 0 && len < LPS_LENGTH) enc->data[enc->program].lps[len++] = *lps++;
|
||||
|
||||
if (len < LPS_LENGTH) {
|
||||
|
||||
Reference in New Issue
Block a user