The branch main has been updated by phk: URL: https://cgit.FreeBSD.org/src/commit/?id=e32b2bcff02ee6885c2e2e8db040f91e5a06214d
commit e32b2bcff02ee6885c2e2e8db040f91e5a06214d Author: Poul-Henning Kamp <p...@freebsd.org> AuthorDate: 2021-05-19 18:48:28 +0000 Commit: Poul-Henning Kamp <p...@freebsd.org> CommitDate: 2021-05-19 18:48:28 +0000 i2c(8): Change default mode to "transfer", which should work everywhere¹ ¹ 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 */ _______________________________________________ dev-commits-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"