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:
2026-01-03 16:41:52 +01:00
parent d901e24e67
commit 97f9b3069c

View File

@@ -227,13 +227,15 @@ int main(int argc, char **argv) {
RDSGroup group; RDSGroup group;
char output_buffer[1024]; char output_buffer[1024];
char starts[4][5] = {"G:\r\n", "H:\r\n", "I:\r\n", "J:\r\n"}; char starts[4][5] = {"G:\r\n", "H:\r\n", "I:\r\n", "J:\r\n"};
uint8_t num_processed = config.num_streams;
if(rdsModulator.params.rdsgen < num_processed) num_processed = rdsModulator.params.rdsgen;
setvbuf(stderr, NULL, _IONBF, 0); setvbuf(stderr, NULL, _IONBF, 0);
while(!stop_rds) { while(!stop_rds) {
if (is_tcp_server_running()) accept_tcp_clients(); if (is_tcp_server_running()) accept_tcp_clients();
for(uint8_t i = 0; i < config.num_streams; i++) { for(uint8_t i = 0; i < num_processed; i++) {
get_rds_group(&rdsEncoder, &group, i); get_rds_group(&rdsEncoder, &group, i);
int offset = 0; int offset = 0;