git: e32b2bcff02e - main - i2c(8): Change default mode to "transfer", which should work everywhere¹
Poul-Henning Kamp
phk at FreeBSD.org
Wed May 19 18:58:02 UTC 2021
The branch main has been updated by phk:
URL: https://cgit.FreeBSD.org/src/commit/?id=e32b2bcff02ee6885c2e2e8db040f91e5a06214d
commit e32b2bcff02ee6885c2e2e8db040f91e5a06214d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
AuthorDate: 2021-05-19 18:48:28 +0000
Commit: Poul-Henning Kamp <phk at 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 */
More information about the dev-commits-src-main
mailing list