Fix Minor Ncurses Regression
Fix Minor Ncurses Regression
This commit is contained in:
parent
c82e028032
commit
806fe955cb
|
|
@ -627,7 +627,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
||||||
//printw ("| | "); //10 spaces
|
//printw ("| | "); //10 spaces
|
||||||
printw ("| V XTRA | "); //10 spaces
|
printw ("| V XTRA | "); //10 spaces
|
||||||
//Burger King
|
//Burger King
|
||||||
if(state->dmrburstL == 16 && state->payload_mi == 0 && (state->dmr_so & 0x4F) == 0x40) //4F or CF mask? & 0xCF currently
|
if(state->dmrburstL == 16 && state->payload_mi == 0 && (state->dmr_so & 0xCF) == 0x40) //4F or CF mask? & 0xCF currently
|
||||||
{
|
{
|
||||||
attron(COLOR_PAIR(5));
|
attron(COLOR_PAIR(5));
|
||||||
printw (" **BP** ");
|
printw (" **BP** ");
|
||||||
|
|
@ -635,7 +635,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
||||||
attron(COLOR_PAIR(3));
|
attron(COLOR_PAIR(3));
|
||||||
}
|
}
|
||||||
//Point
|
//Point
|
||||||
if(state->dmrburstL == 16 && state->payload_mi == 0 && state->K > 0 && (state->dmr_so & 0x4F) == 0x40)
|
if(state->dmrburstL == 16 && state->payload_mi == 0 && state->K > 0 && (state->dmr_so & 0xCF) == 0x40)
|
||||||
{
|
{
|
||||||
attron(COLOR_PAIR(1));
|
attron(COLOR_PAIR(1));
|
||||||
printw ("BPK [%3lld] ", state->K);
|
printw ("BPK [%3lld] ", state->K);
|
||||||
|
|
@ -643,7 +643,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
||||||
attron(COLOR_PAIR(3));
|
attron(COLOR_PAIR(3));
|
||||||
}
|
}
|
||||||
//ALG, KeyID, MI
|
//ALG, KeyID, MI
|
||||||
if(state->dmrburstL == 16 && state->payload_keyid > 0 && (state->dmr_so & 0x4F) == 0x40)
|
if(state->dmrburstL == 16 && state->payload_keyid > 0 && (state->dmr_so & 0xCF) == 0x40)
|
||||||
{
|
{
|
||||||
attron(COLOR_PAIR(1));
|
attron(COLOR_PAIR(1));
|
||||||
printw ("ALG: [0x%02X] KEY: [0x%02X] MI: [0x%08X]", state->payload_algid, state->payload_keyid, state->payload_mi);
|
printw ("ALG: [0x%02X] KEY: [0x%02X] MI: [0x%08X]", state->payload_algid, state->payload_keyid, state->payload_mi);
|
||||||
|
|
@ -728,7 +728,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
||||||
printw ("| V XTRA | "); //10 spaces
|
printw ("| V XTRA | "); //10 spaces
|
||||||
|
|
||||||
//Burger King 2
|
//Burger King 2
|
||||||
if(state->dmrburstR == 16 && state->payload_miR == 0 && (state->dmr_soR & 0x4F) == 0x40) //4F or CF mask?
|
if(state->dmrburstR == 16 && state->payload_miR == 0 && (state->dmr_soR & 0xCF) == 0x40) //4F or CF mask?
|
||||||
{
|
{
|
||||||
attron(COLOR_PAIR(5));
|
attron(COLOR_PAIR(5));
|
||||||
printw (" **BP** ");
|
printw (" **BP** ");
|
||||||
|
|
@ -736,7 +736,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
||||||
attron(COLOR_PAIR(3));
|
attron(COLOR_PAIR(3));
|
||||||
}
|
}
|
||||||
//Point 2
|
//Point 2
|
||||||
if(state->dmrburstR == 16 && state->payload_miR == 0 && state->K > 0 && (state->dmr_soR & 0x4F) == 0x40)
|
if(state->dmrburstR == 16 && state->payload_miR == 0 && state->K > 0 && (state->dmr_soR & 0xCF) == 0x40)
|
||||||
{
|
{
|
||||||
attron(COLOR_PAIR(1));
|
attron(COLOR_PAIR(1));
|
||||||
printw ("BPK [%3lld] ", state->K);
|
printw ("BPK [%3lld] ", state->K);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue