mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 16:59:15 +02:00
wow
This commit is contained in:
+1
-1
@@ -364,7 +364,7 @@ static const command_handler_t commands_exact[] = {
|
|||||||
static bool process_command_table(const command_handler_t *table, int table_size,
|
static bool process_command_table(const command_handler_t *table, int table_size,
|
||||||
char *cmd, char *arg, RDSModulator* mod) {
|
char *cmd, char *arg, RDSModulator* mod) {
|
||||||
for (int i = 0; i < table_size; i++) {
|
for (int i = 0; i < table_size; i++) {
|
||||||
if (ustrcmp(cmd, (char *)table[i].cmd) == 0) {
|
if (strcmp(cmd, (char *)table[i].cmd) == 0) {
|
||||||
table[i].handler(arg, mod);
|
table[i].handler(arg, mod);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ static void *control_pipe_worker(void* modulator) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void show_version() {
|
static void show_version() {
|
||||||
printf("rds95 (a RDS encoder by radio95) version 1.0");
|
printf("rds95 (a RDS encoder by radio95) version 1.0\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void show_help(char *name) {
|
static void show_help(char *name) {
|
||||||
|
|||||||
Reference in New Issue
Block a user