mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-22 12:23:57 +08:00
[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