0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 12:53:53 +01:00

fix errors

This commit is contained in:
2025-03-16 18:35:41 +01:00
parent 72f1cf2718
commit a29e254a75

View File

@@ -270,12 +270,12 @@ static void handle_grpseq(char *arg, RDSModulator* mod, char* output) {
} }
static void handle_level(char *arg, RDSModulator* mod, char* output) { static void handle_level(char *arg, RDSModulator* mod, char* output) {
mod->params.level = strtoul((char *)arg, NULL, 10)/255.0f mod->params.level = strtoul((char *)arg, NULL, 10)/255.0f;
strcpy(output, "+\0"); strcpy(output, "+\0");
} }
static void handle_rdsgen(char *arg, RDSModulator* mod, char* output) { static void handle_rdsgen(char *arg, RDSModulator* mod, char* output) {
mod->params.rdsgen = strtoul((char *)arg, NULL, 10) mod->params.rdsgen = strtoul((char *)arg, NULL, 10);
strcpy(output, "+\0"); strcpy(output, "+\0");
} }