From 9564b74d80525c9f289b730febbb2348c529c9cc Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 11 May 2022 16:27:09 -0700 Subject: [PATCH] remove extra new line --- can/parser.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/can/parser.cc b/can/parser.cc index 3ec8675..b59a6bc 100644 --- a/can/parser.cc +++ b/can/parser.cc @@ -68,7 +68,7 @@ bool MessageState::parse(uint64_t sec, const std::vector &dat) { } if (checksum_failed || counter_failed) { - LOGE("0x%X message checks failed, checksum failed %d, counter failed %d\n", address, checksum_failed, counter_failed); + LOGE("0x%X message checks failed, checksum failed %d, counter failed %d", address, checksum_failed, counter_failed); return false; } @@ -290,9 +290,9 @@ void CANParser::UpdateValid(uint64_t sec) { const auto& state = kv.second; if (state.check_threshold > 0 && (sec - state.seen) > state.check_threshold) { if (state.seen > 0) { - LOGE("0x%X TIMEOUT\n", state.address); + LOGE("0x%X TIMEOUT", state.address); } else { - LOGE("0x%X MISSING\n", state.address); + LOGE("0x%X MISSING", state.address); } can_valid = false; }