Skip to content

Commit

Permalink
Fix formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy committed Jan 7, 2025
1 parent acfc17e commit 25339fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions decode/decode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,10 @@ void Decoder::handleACARS(ACARSItem &item) {
if (label[1] == (char)127)
label[1] = '?';

INF("[%7s] ACK=%s BLK=%c C=%d LBL=%2s %s%s",
INF("[%7s] ACK=%s BLK=%c C=%d LBL=%2s %s",
item.PLANEREG.toStdString().c_str(),
std::string({item.TAK ? (char)'?' : (char)item.TAK}).c_str(), item.BI,
item.moretocome ? 1 : 0, label.toStdString().c_str(),
item.message.isEmpty() ? "" : "MSG=",
item.message.remove("\n").remove("\r").toStdString().c_str());
}

Expand Down

0 comments on commit 25339fe

Please sign in to comment.