mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 12:53:53 +01:00
lol
This commit is contained in:
@@ -226,6 +226,12 @@ static void handle_rt1en(char *arg, RDSModulator* mod, char* output) {
|
|||||||
strcpy(output, "+\0");
|
strcpy(output, "+\0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void handle_dps1en(char *arg, RDSModulator* mod, char* output) {
|
||||||
|
arg[1] = 0;
|
||||||
|
mod->enc->data[mod->enc->program].dps1_enabled = arg[0];
|
||||||
|
strcpy(output, "+\0");
|
||||||
|
}
|
||||||
|
|
||||||
static void handle_ptynen(char *arg, RDSModulator* mod, char* output) {
|
static void handle_ptynen(char *arg, RDSModulator* mod, char* output) {
|
||||||
arg[1] = 0;
|
arg[1] = 0;
|
||||||
mod->enc->data[mod->enc->program].ptyn_enabled = strtoul((char *)arg, NULL, 10);
|
mod->enc->data[mod->enc->program].ptyn_enabled = strtoul((char *)arg, NULL, 10);
|
||||||
@@ -409,6 +415,7 @@ static const command_handler_t commands_eq7[] = {
|
|||||||
{"RTPRUN", handle_rtprun, 6},
|
{"RTPRUN", handle_rtprun, 6},
|
||||||
{"GRPSEQ", handle_grpseq, 6},
|
{"GRPSEQ", handle_grpseq, 6},
|
||||||
{"RDSGEN", handle_rdsgen, 6}
|
{"RDSGEN", handle_rdsgen, 6}
|
||||||
|
{"DPS1EN", handle_dps1en, 6},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const command_handler_t commands_eq8[] = {
|
static const command_handler_t commands_eq8[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user