summaryrefslogtreecommitdiff
path: root/commandline/i2cdetect.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-11-17 19:03:25 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-11-17 19:03:25 +0100
commit75efbe1ad80731919c7f87488c22d65c8bb3ec74 (patch)
tree9adaf4a95f16a28d2bd8291ca39680b171ff6ca7 /commandline/i2cdetect.c
parente050f96dee9da9dc73176ca1be3c26161f0ae1f9 (diff)
add -c, -d to set sda/scl bit
Diffstat (limited to 'commandline/i2cdetect.c')
-rw-r--r--commandline/i2cdetect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commandline/i2cdetect.c b/commandline/i2cdetect.c
index 2aa4475..88e5d2e 100644
--- a/commandline/i2cdetect.c
+++ b/commandline/i2cdetect.c
@@ -9,6 +9,7 @@ int main(int argc, char **argv)
{
unsigned char id, i2cid;
+ i2c_getopt(argc, argv);
i2c_init();
fputs(" 0 1 2 3 4 5 6 7 8 9 a b c d e f", stdout);