We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2dd1bf + 52ab546 commit d75f4f4Copy full SHA for d75f4f4
Cargo.toml
@@ -18,7 +18,7 @@ https://www.kernel.org/doc/Documentation/i2c/dev-interface
18
libc = "0.2"
19
bitflags = "1"
20
byteorder = "1"
21
-nix = "0.10"
+nix = "0.11"
22
23
[dev-dependencies]
24
docopt = "0.8"
src/ffi.rs
@@ -175,8 +175,8 @@ mod ioctl {
175
use super::{I2C_SLAVE, I2C_SMBUS};
176
pub use super::i2c_smbus_ioctl_data;
177
178
- ioctl!(bad write_int set_i2c_slave_address with I2C_SLAVE);
179
- ioctl!(bad write_ptr i2c_smbus with I2C_SMBUS; i2c_smbus_ioctl_data);
+ ioctl_write_int_bad!(set_i2c_slave_address, I2C_SLAVE);
+ ioctl_write_ptr_bad!(i2c_smbus, I2C_SMBUS, i2c_smbus_ioctl_data);
180
}
181
182
0 commit comments