Files
swiftcontrol/lib/widgets
Jonas Acker ba1a785890 fix(steering): read a centred bar as 0°, not -0°
The gauge printed the tilt with toStringAsFixed(0), which keeps the sign
of a negative zero. An Elite Sterzo reports a centred bar as -0 (its
angle is negated for the gauge), and any tilt a hair right of centre
rounds to -0 too, so a bar at rest read "-0°". The readout now rounds
to a whole number first.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 23:13:58 +02:00
..
2026-01-22 15:40:23 +01:00
2026-03-04 17:37:08 +01:00
2026-07-09 15:48:34 +02:00
2026-03-12 11:25:05 +01:00
2026-04-26 09:44:56 +02:00
2026-03-10 21:02:41 +01:00
2026-04-28 09:11:05 +02:00
2026-05-14 08:37:33 +02:00