mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 04:43:52 +01:00
fix errors
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user