EDACS: Clean up formatting for I-Calls (#203)

* Fix MT1 math given esk_mask value is 0xA0

* EDACS: Clean up formatting for I-Calls
This commit is contained in:
ilyacodes
2024-03-17 18:56:41 -04:00
committed by GitHub
parent ebe6e8fc65
commit 10eacd99cc

View File

@@ -3449,10 +3449,10 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
if (state->ea_mode == 1) { if (state->ea_mode == 1) {
if (call_matrix[i][2] > 100000) if (call_matrix[i][2] > 100000)
// I-Call // I-Call
printw (" TGT [%8lld] SRC [%8lld]", call_matrix[i][2] - 100000, call_matrix[i][3] ); printw (" TGT [%8lld] SRC [%8lld] I-Call", call_matrix[i][2] - 100000, call_matrix[i][3] );
else else
// Group call // Group call
printw (" TG [%5lld] SRC [%8lld]", call_matrix[i][2], call_matrix[i][3] ); printw (" TGT [%8lld] SRC [%8lld]", call_matrix[i][2], call_matrix[i][3] );
} }
else else
{ {
@@ -3482,10 +3482,10 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
if (state->ea_mode == 1) { if (state->ea_mode == 1) {
if (call_matrix[i][2] > 100000) if (call_matrix[i][2] > 100000)
// I-Call // I-Call
printw (" TGT [%8lld] SRC [%8lld]", call_matrix[i][2] - 100000, call_matrix[i][3] ); printw (" TGT [%8lld] SRC [%8lld] I-Call", call_matrix[i][2] - 100000, call_matrix[i][3] );
else else
// Group call // Group call
printw (" TG [%5lld] SRC [%8lld]", call_matrix[i][2], call_matrix[i][3] ); printw (" TGT [%8lld] SRC [%8lld]", call_matrix[i][2], call_matrix[i][3] );
} }
else else
{ {
@@ -3615,11 +3615,10 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
{ {
if (call_matrix[j][2] > 100000) if (call_matrix[j][2] > 100000)
// I-Call // I-Call
printw ("Target [%8lld] ", call_matrix[j][2] - 100000); printw ("Target [%8lld] Source [%8lld] I-Call", call_matrix[j][2] - 100000, call_matrix[j][3]);
else else
// Group call // Group call
printw ("Group [%8lld] ", call_matrix[j][2]); printw ("Target [%8lld] Source [%8lld]", call_matrix[j][2] - 100000, call_matrix[j][3]);
printw ("Source [%8lld] ", call_matrix[j][3]);
} }
else else
{ {