Skip to content

Commit

Permalink
revert more
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Jul 31, 2024
1 parent 9beb1f1 commit 379d54b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion can/parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,14 @@ void CANParser::update(const std::vector<CanData> &can_data, std::vector<SignalV
UpdateCans(c);
UpdateValid(last_nanos);
}

query_latest(vals, current_nanos);
}

void CANParser::UpdateCans(const CanData &can) {
//DEBUG("got %zu messages\n", can.frames.size());

bool bus_empty = true;

for (const auto &frame : can.frames) {
if (frame.src != bus) {
// DEBUG("skip %d: wrong bus\n", cmsg.getAddress());
Expand Down

0 comments on commit 379d54b

Please sign in to comment.