mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 12:53:53 +01:00
fix grp seq copy
This commit is contained in:
@@ -619,7 +619,7 @@ void set_rds_cg(uint16_t* blocks) {
|
|||||||
|
|
||||||
void set_rds_grpseq(unsigned char* grpseq) {
|
void set_rds_grpseq(unsigned char* grpseq) {
|
||||||
uint8_t len = 0;
|
uint8_t len = 0;
|
||||||
memset(rds_data.grp_sqc, ' ', 24);
|
memset(rds_data.grp_sqc, 0, 24);
|
||||||
while (*grpseq != 0 && len < 24)
|
while (*grpseq != 0 && len < 24)
|
||||||
rds_data.grp_sqc[len++] = *grpseq++;
|
rds_data.grp_sqc[len++] = *grpseq++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user