cabana: fix incorrect freq&counter (#26207)

fix wrong freq
old-commit-hash: e7e64be734
taco
Dean Lee 3 years ago committed by GitHub
parent eef468fd85
commit dbe9b6fe02
  1. 1
      tools/cabana/canmessages.cc

@ -65,7 +65,6 @@ QList<QPointF> CANMessages::findSignalValues(const QString &id, const Signal *si
void CANMessages::process(QHash<QString, std::deque<CanData>> *messages) {
for (auto it = messages->begin(); it != messages->end(); ++it) {
++counters[it.key()];
auto &msgs = can_msgs[it.key()];
const auto &new_msgs = it.value();
if (new_msgs.size() == settings.can_msg_log_size || msgs.empty()) {

Loading…
Cancel
Save