Skip to content

Commit

Permalink
Merge pull request rust-embedded#44 from RandomInsano/upgrade_nix
Browse files Browse the repository at this point in the history
Upgrade nix to 0.11
  • Loading branch information
posborne authored Oct 1, 2018
2 parents e2dd1bf + 52ab546 commit d75f4f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ https://www.kernel.org/doc/Documentation/i2c/dev-interface
libc = "0.2"
bitflags = "1"
byteorder = "1"
nix = "0.10"
nix = "0.11"

[dev-dependencies]
docopt = "0.8"
Expand Down
4 changes: 2 additions & 2 deletions src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ mod ioctl {
use super::{I2C_SLAVE, I2C_SMBUS};
pub use super::i2c_smbus_ioctl_data;

ioctl!(bad write_int set_i2c_slave_address with I2C_SLAVE);
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);
}


Expand Down

0 comments on commit d75f4f4

Please sign in to comment.