Fix Compiler Warning, minor tweaks

Fix Compiler Warning, minor tweaks to NCurses view and information logging
This commit is contained in:
lwvmobile
2022-03-13 20:32:32 -04:00
committed by GitHub
parent 6afb0d718f
commit 5ee669aa18
4 changed files with 5 additions and 7 deletions

View File

@@ -350,7 +350,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
printw ("| RAN: [%02d] ", rn);
printw ("TID: [%04d] ", tgn);
//printw ("| RID: [%d] \n", src);
printw ("RID: [%04d] \n| ALG: 0x[%02X] KEY 0x[%02X] ", src, state->nxdn_cipher_type, state->nxdn_key);
printw ("RID: [%04d] \n| ALG: [0x%02X] KEY [0x%02X] ", src, state->nxdn_cipher_type, state->nxdn_key);
if (state->carrier == 1)
{
printw("%s ", state->nxdn_call_type);