i2c: use board-specific bus numbering for '-X -b <bus>' CLI

As boards don't have their external buses labeled consistently, it was not
useful to use an abstraction.
This commit is contained in:
Beat Küng
2020-09-03 13:19:54 +02:00
committed by Daniel Agar
parent fdcd9b2de1
commit 787f9c1213
8 changed files with 9 additions and 15 deletions

View File

@@ -22,4 +22,4 @@ ist8310 -I -R 10 start
ms5611 -s start
# External compass on GPS1/I2C1 (the 3rd external bus): standard Holybro GPS/compass puck (with lights, safety button, and buzzer)
ist8310 -X -b 3 -R 10 start
ist8310 -X -b 1 -R 10 start