i2c(8): Change default mode to "transfer", which should work everywhere¹

¹ According to @ian
This commit is contained in:
Poul-Henning Kamp 2021-05-19 18:48:28 +00:00
parent f4583ebabc
commit e32b2bcff0

View File

@ -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 */