move enable ptyn from state to data

This commit is contained in:
2025-03-15 11:55:03 +01:00
parent 10ab93c3f1
commit afdc17146b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ static void handle_rt1en(unsigned char *arg, RDSModulator* mod) {
static void handle_ptynen(unsigned char *arg, RDSModulator* mod) {
arg[1] = 0;
mod->enc->state[mod->enc->program].ptyn_enabled = strtoul((char *)arg, NULL, 10);
mod->enc->data[mod->enc->program].ptyn_enabled = strtoul((char *)arg, NULL, 10);
}
static void handle_rtprun(unsigned char *arg, RDSModulator* mod) {