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-04-13 15:26:26 +02:00
parent 7e7f24545c
commit 664150a8ef
3 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ static uint16_t offset_words[] = {
0x350 /* C' */
};
void add_checkwords(RDSGroup *group, uint8_t *bits, uint8_t stream)
void add_checkwords(RDSGroup *group, uint8_t *bits)
{
uint16_t offset_word;

View File

@@ -6,6 +6,6 @@ extern uint16_t crc16_ccitt(char *data, uint16_t len);
uint16_t get_block_grom_group(RDSGroup *group, uint8_t block);
extern void add_checkwords(RDSGroup *group, uint8_t *bits, uint8_t stream);
extern void add_checkwords(RDSGroup *group, uint8_t *bits);
extern uint8_t add_rds_af(RDSAFs *af_list, float freq);
extern char *convert_to_rds_charset(char *str);

View File

@@ -650,7 +650,7 @@ group_coded:
void get_rds_bits(RDSEncoder* enc, uint8_t *bits, uint8_t stream) {
RDSGroup group;
get_rds_group(enc, &group, stream);
add_checkwords(&group);
add_checkwords(&group, &bits);
}
void reset_rds_state(RDSEncoder* enc, uint8_t program) {