mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 02:22:09 +08:00
cabana: fix incorrect freq&counter (#26207)
fix wrong freq old-commit-hash: e7e64be734899fa2cd8f3a2fe178c1aa958dd258
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user