From eaf81540a6b73d41c9862024f0f4507cdfbfc584 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 3 Oct 2013 19:51:20 +0200 Subject: i2cdetect: Send START without prior STOP --- commandline/i2cdetect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commandline/i2cdetect.c b/commandline/i2cdetect.c index f394ca6..2aa4475 100644 --- a/commandline/i2cdetect.c +++ b/commandline/i2cdetect.c @@ -30,11 +30,11 @@ int main(int argc, char **argv) else fputs(" --", stdout); - i2c_stop(); } fputs("\n", stdout); + i2c_stop(); i2c_deinit(); return 0; } -- cgit v1.2.3