mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
cabana: fix coredump caused by getColor in updateSeries (#27265)
This commit is contained in:
@@ -525,7 +525,7 @@ void ChartView::updateSeries(const Signal *sig, const std::vector<Event *> *even
|
||||
s.vals.clear();
|
||||
s.vals.reserve(settings.max_cached_minutes * 60 * 100); // [n]seconds * 100hz
|
||||
s.last_value_mono_time = 0;
|
||||
s.series->setColor(getColor(sig));
|
||||
s.series->setColor(getColor(s.sig));
|
||||
}
|
||||
|
||||
struct Chunk {
|
||||
|
||||
Reference in New Issue
Block a user