diff options
author | Bartosz Golaszewski <bartekgola@gmail.com> | 2015-06-05 10:27:31 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-06-07 18:05:47 +0200 |
commit | aeb11a949667f82173c733e55e9f762c56a1fcba (patch) | |
tree | b34319d0e9d089ded4007d59e1adb51d1d7e16ab /networking | |
parent | 2204472497285dd6fd7b686bb49732fda7394492 (diff) | |
download | busybox-aeb11a949667f82173c733e55e9f762c56a1fcba.tar.gz |
i2cdump: code rework
Split i2cdump_main() into shorter functions. Simplify the code a bit.
Make block an array of ints so that we can store negative results of
read functions (fixes a bug found by Denys Vlasenko).
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
0 files changed, 0 insertions, 0 deletions