mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-17 02:53:43 +08:00
Refactor steeringPressed logic in Hyundai carstate.py.
Revised the determination of `steeringPressed` to account for both hands-on-wheel detection and torque overriding in CAN FD setups. Simplified fallback logic for non-CAN FD configurations for better code clarity and maintainability.
This commit is contained in: