Abbreviate 'command' and 'response' as 'C', 'R'

patty_print_frame_header(): Abbreviate 'command' and 'response' as 'C'
and 'R'
This commit is contained in:
XANTRONIX Development 2020-07-23 00:28:50 -04:00 committed by XANTRONIX Industrial
parent e06a9d195e
commit 8d7800fe95

View file

@ -43,8 +43,8 @@ static char *version(enum patty_ax25_version version) {
static char *frame_cr(enum patty_ax25_frame_cr cr) {
switch (cr) {
case PATTY_AX25_FRAME_COMMAND: return "command";
case PATTY_AX25_FRAME_RESPONSE: return "response";
case PATTY_AX25_FRAME_COMMAND: return "C";
case PATTY_AX25_FRAME_RESPONSE: return "R";
case PATTY_AX25_FRAME_OLD: return "?";
}