diff options
author | Bartosz Golaszewski <bartekgola@gmail.com> | 2015-10-27 17:15:00 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-11-01 20:55:09 +0100 |
commit | 99f025a4999ee9d44db17d8abfbde7813bf99de1 (patch) | |
tree | 12f4bdfe0e76a7a048a19369b9959a5a061dba68 /shell/ash_test/ash-arith/arith1.sub | |
parent | 1062391365981a09069f96509937b7f1181b7484 (diff) | |
download | busybox-99f025a4999ee9d44db17d8abfbde7813bf99de1.tar.gz |
i2cdetect: fix address skipping in auto mode
If the bus doesn't support SMBus Quick Write or Receive Byte commands
and we're running in auto mode all addresses will be skipped resulting
in an empty table being printed.
This is caused by not restoring the auto mode after it's been changed
for certain address ranges - we need an additional variable to hold the
temporary state.
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-arith/arith1.sub')
0 files changed, 0 insertions, 0 deletions