mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-16 14:52:15 +08:00
cabana: fix coredump caused by getColor in updateSeries (#27265)
old-commit-hash: 99f12ca7f31a1d6ac8a54254f30d4a31ce628268
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