From e32b2bcff02ee6885c2e2e8db040f91e5a06214d Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 19 May 2021 18:48:28 +0000 Subject: [PATCH] =?UTF-8?q?i2c(8):=20Change=20default=20mode=20to=20"trans?= =?UTF-8?q?fer",=20which=20should=20work=20everywhere=C2=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ยน According to @ian --- usr.sbin/i2c/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/i2c/i2c.c b/usr.sbin/i2c/i2c.c index 099418a5715c..a471b6533170 100644 --- a/usr.sbin/i2c/i2c.c +++ b/usr.sbin/i2c/i2c.c @@ -550,7 +550,7 @@ main(int argc, char** argv) i2c_opt.count = 1; i2c_opt.binary = 0; /* ASCII text output */ i2c_opt.skip = NULL; /* scan all addresses */ - i2c_opt.mode = I2C_MODE_NOTSET; + i2c_opt.mode = I2C_MODE_TRANSFER; /* Find out what we are going to do */