aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/i2c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2021-05-19 18:48:28 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2021-05-19 18:48:28 +0000
commite32b2bcff02ee6885c2e2e8db040f91e5a06214d (patch)
tree19558cfb7215b03f817cedcd466722ef5c879559 /usr.sbin/i2c
parentf4583ebabc0db99992f65bcfb3eb8d8a95921a34 (diff)
Diffstat (limited to 'usr.sbin/i2c')
-rw-r--r--usr.sbin/i2c/i2c.c2
1 files changed, 1 insertions, 1 deletions
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 */