mirror of https://github.com/lwvmobile/dsd-fme.git
EDACS: Add AFS Configuration Display to Ncurses;
This commit is contained in:
parent
22028b37ed
commit
753286cdf6
|
|
@ -1365,7 +1365,7 @@ usage ()
|
|||
printf (" -fh Decode only EDACS Standard/ProVoice*\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 (" -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 with ESK 0xA0*\n");
|
||||
printf (" -fm Decode only dPMR*\n");
|
||||
|
|
|
|||
|
|
@ -2578,8 +2578,11 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
|||
}
|
||||
printw (" Mode (S);");
|
||||
|
||||
printw(" ESK Mask: %02X", state->esk_mask);
|
||||
printw (" (A); ");
|
||||
printw(" ESK: %02X", state->esk_mask);
|
||||
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));
|
||||
printw ("\n");
|
||||
|
|
@ -2605,8 +2608,12 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
|||
}
|
||||
printw (" Mode (S);");
|
||||
|
||||
printw(" ESK Mask: %02X", state->esk_mask);
|
||||
printw(" ESK: %02X", state->esk_mask);
|
||||
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");
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue