mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-23 21:02:08 +08:00
0f985f5d13
[cabana] Improve signal timing calculation in findsingal.cc
The variables `first_sec` and `last_sec` have been separately initialized first before being used in `std::minmax` for signal timings. This resolves compilation warnings and potential risks of using temporary values of these variables.
old-commit-hash: 2a9986d948