Init Group Mode Str; Tweak Group List Conditions;

This commit is contained in:
lwvmobile
2023-09-07 12:02:32 -04:00
parent f217f17c52
commit dd483c3300
6 changed files with 34 additions and 2 deletions

View File

@@ -163,6 +163,7 @@ void processMPDU(dsd_opts * opts, dsd_state * state)
//group list mode so we can look and see if we need to block tuning any groups, etc
char mode[8]; //allow, block, digital, enc, etc
sprintf (mode, "%s", "");
//if we are using allow/whitelist mode, then write 'B' to mode for block
//comparison below will look for an 'A' to write to mode if it is allowed
@@ -322,6 +323,7 @@ void processMPDU(dsd_opts * opts, dsd_state * state)
{
fprintf (stderr, " [%s]", state->group_array[i].groupName);
strcpy (mode, state->group_array[i].groupMode);
break;
}
}
@@ -420,6 +422,7 @@ void processMPDU(dsd_opts * opts, dsd_state * state)
{
fprintf (stderr, " [%s]", state->group_array[i].groupName);
strcpy (mode, state->group_array[i].groupMode);
break;
}
}