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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 7 deletions

View File

@ -3449,10 +3449,10 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
if (state->ea_mode == 1) {
if (call_matrix[i][2] > 100000)
// 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
// 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
{
@ -3482,10 +3482,10 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
if (state->ea_mode == 1) {
if (call_matrix[i][2] > 100000)
// 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
// 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
{
@ -3615,11 +3615,10 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
{
if (call_matrix[j][2] > 100000)
// 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
// Group call
printw ("Group [%8lld] ", call_matrix[j][2]);
printw ("Source [%8lld] ", call_matrix[j][3]);
printw ("Target [%8lld] Source [%8lld]", call_matrix[j][2] - 100000, call_matrix[j][3]);
}
else
{