mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
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:
@@ -134,7 +134,7 @@ class ModuleDocumentation(object):
|
||||
self._handle_usage_param_flag(['\'S\'', "\"External SPI bus(es)\"", 'true'])
|
||||
|
||||
self._handle_usage_param_int(['\'b\'', '-1', '0', '16',
|
||||
"\"bus (board-specific internal (default=all) or n-th external (default=1))\"", 'true'])
|
||||
"\"board-specific bus (default=all) (external SPI: n-th bus (default=1))\"", 'true'])
|
||||
|
||||
if self._is_bool_true(args[1]):
|
||||
self._handle_usage_param_int(['\'c\'', '1', '1', '10',
|
||||
|
||||
Reference in New Issue
Block a user