EDACS: Tweak Mode Toggle Display; Add Frame Dump on No Mode Set;

This commit is contained in:
lwvmobile 2024-03-22 03:24:57 -04:00
parent 68aa6b018e
commit 058099f1aa
2 changed files with 9 additions and 3 deletions

View File

@ -2531,7 +2531,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
attron(COLOR_PAIR(4));
printw (" Extended Address");
}
printw (" (S) Mode;");
printw (" Mode (S);");
printw(" ESK Mask: %02X", state->esk_mask);
printw (" (A); ");
@ -2558,7 +2558,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
printw (" standard/network");
printw (" EXTENDED ADDRESS");
}
printw (" (S) Mode (Toggle);");
printw (" Mode (S);");
printw(" ESK Mask: %02X", state->esk_mask);
printw (" (A) Toggle; ");

View File

@ -1068,7 +1068,13 @@ void edacs(dsd_opts * opts, dsd_state * state)
} //end Standard or Networked
//let users know they need to select an operational mode with the switches below
else fprintf (stderr, " Detected: Use -fh, -fH, -fe, or -fE for std, esk, ea, or ea-esk;");
else
{
fprintf (stderr, " Detected: Use -fh, -fH, -fe, or -fE for std, esk, ea, or ea-esk;");
fprintf (stderr, "\n");
fprintf (stderr, " FR_1 [%010llX]", fr_1t);
fprintf (stderr, " FR_4 [%010llX]", fr_4t);
}
}