mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-20 00:43:46 +08:00
524b97f8d4
The checks for the sunnylink_enabled flag have been restructured to eliminate unnecessary loop iterations. The check has been moved out of the loop to do the evaluation only once, when exiting the loop. This significantly increases the efficiency of the code.