mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
EDACS: Add AFS Configuration Display to Ncurses;
This commit is contained in:
@@ -1365,7 +1365,7 @@ usage ()
|
|||||||
printf (" -fh Decode only EDACS Standard/ProVoice*\n");
|
printf (" -fh Decode only EDACS Standard/ProVoice*\n");
|
||||||
printf (" -fH Decode only EDACS Standard/ProVoice with ESK 0xA0*\n");
|
printf (" -fH Decode only EDACS Standard/ProVoice with ESK 0xA0*\n");
|
||||||
printf (" -fh344 Decode only EDACS Standard/ProVoice and set AFS to 344 or custom 11-bit scheme*\n");
|
printf (" -fh344 Decode only EDACS Standard/ProVoice and set AFS to 344 or custom 11-bit scheme*\n");
|
||||||
printf (" -fH434 Decode only EDACS Standard/ProVoice and set AFS to 344 or custom 11-bit scheme with ESK 0xA0*\n");
|
printf (" -fH434 Decode only EDACS Standard/ProVoice and set AFS to 344 or custom 11-bit scheme with ESK 0xA0*\n");
|
||||||
printf (" -fe Decode only EDACS EA/ProVoice*\n");
|
printf (" -fe Decode only EDACS EA/ProVoice*\n");
|
||||||
printf (" -fE Decode only EDACS EA/ProVoice with ESK 0xA0*\n");
|
printf (" -fE Decode only EDACS EA/ProVoice with ESK 0xA0*\n");
|
||||||
printf (" -fm Decode only dPMR*\n");
|
printf (" -fm Decode only dPMR*\n");
|
||||||
|
|||||||
@@ -2578,8 +2578,11 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
|||||||
}
|
}
|
||||||
printw (" Mode (S);");
|
printw (" Mode (S);");
|
||||||
|
|
||||||
printw(" ESK Mask: %02X", state->esk_mask);
|
printw(" ESK: %02X", state->esk_mask);
|
||||||
printw (" (A); ");
|
printw (" (A);");
|
||||||
|
|
||||||
|
if (state->ea_mode == 0)
|
||||||
|
printw (" AFS: %d:%d:%d;", state->edacs_a_bits, state->edacs_f_bits, state->edacs_s_bits);
|
||||||
|
|
||||||
attron(COLOR_PAIR(4));
|
attron(COLOR_PAIR(4));
|
||||||
printw ("\n");
|
printw ("\n");
|
||||||
@@ -2605,8 +2608,12 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
|||||||
}
|
}
|
||||||
printw (" Mode (S);");
|
printw (" Mode (S);");
|
||||||
|
|
||||||
printw(" ESK Mask: %02X", state->esk_mask);
|
printw(" ESK: %02X", state->esk_mask);
|
||||||
printw (" (A) Toggle; ");
|
printw (" (A) Toggle; ");
|
||||||
|
|
||||||
|
if (state->ea_mode == 0)
|
||||||
|
printw (" AFS: %d:%d:%d;", state->edacs_a_bits, state->edacs_f_bits, state->edacs_s_bits);
|
||||||
|
|
||||||
printw ("\n");
|
printw ("\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user