cabana: fix incorrect freq&counter (#26207)

fix wrong freq
pull/26183/head
Dean Lee 3 years ago committed by GitHub
parent 335351123a
commit e7e64be734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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