const or not - its apparantly very important

This commit is contained in:
2026-04-26 11:44:20 +02:00
parent 33eb2c1c60
commit e2c4c954f6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ void get_rds_sequence_group(RDSEncoder* enc, RDSGroup *group, uint8_t good_group
}
}
uint8_t check_rds_good_group(RDSEncoder* enc, char* grp) {
uint8_t check_rds_good_group(RDSEncoder* enc, const char* grp) {
if(*grp == 2) {
if(enc->data[enc->program].ecc != 0 || enc->data[enc->program].slc_data != 0) return 1;
return 0;