Diff locks: per-board polarity ('Inverted' switch in the Settings row, 'difflock invert on|off', NVS difflock_inv) - in the car the lock wires carry 12 V while unlocked
Firmware / build (push) Successful in 7m6s

This commit is contained in:
2026-09-29 15:18:23 +02:00
parent 0254bf19e9
commit b431cdfa16
10 changed files with 88 additions and 18 deletions
+2 -1
View File
@@ -136,8 +136,9 @@ diag status
```
difflock status rear / front LOCKED or open, raw CH422G IO byte, read counters
difflock on | off same as the switch (saved)
difflock invert on | off polarity, same as the "Inverted" switch (saved): on = NO current means locked
```
Wiring: lock wire (+12 V when locked) → DI0 / DI1, `DI_COM` → vehicle ground. Details: wiki `diff-lock-inputs`.
Wiring: lock wire → DI0 / DI1, `DI_COM` → vehicle ground. If the screen shows locked when unlocked (the Patrol's ground-switched lamp wires do this), turn **Inverted** on. Details: wiki `diff-lock-inputs`.
### Diagnostics
```