accel/decel button metric increments (#22399)
* add metric values
Freedom units have weird multiples compared to metric. Modified so that it increments by 10 km/h on long press and 1 km/h on short press, rather than 8 and 1.6 km/h. This mimics stock hyundai behaviour on metric vehicles.
* use is_metric from controlsd
* use actual mph value instead of rounded
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 23b9316603
commatwo_master
parent
d0d63b7fb9
commit
ca46acfd64
2 changed files with 7 additions and 5 deletions
Loading…
Reference in new issue