From 986dd5da073962bb79cc35fe89586e3d67335c55 Mon Sep 17 00:00:00 2001 From: deanlee Date: Wed, 12 Jun 2024 18:56:43 +0800 Subject: [PATCH] cleanup --- can/common.h | 2 +- can/parser.cc | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/can/common.h b/can/common.h index deffaf36fb..7d6c2fe022 100644 --- a/can/common.h +++ b/can/common.h @@ -83,7 +83,7 @@ class CANParser { void query_latest(std::vector &vals, uint64_t last_ts = 0); protected: - void update_can(const CanData &can); + void updateCans(const CanData &can); void UpdateValid(uint64_t nanos); }; diff --git a/can/parser.cc b/can/parser.cc index 8f056c7a51..36ba0faf8e 100644 --- a/can/parser.cc +++ b/can/parser.cc @@ -2,7 +2,6 @@ #include #include #include -#include #include #include @@ -169,14 +168,14 @@ void CANParser::update(const std::vector &can_data, std::vector