Skip to content

Commit

Permalink
fix missing refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges760 committed Sep 2, 2024
1 parent 764656e commit b1ee764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ compile_error!("You should probably choose at least one of `sync` and `async` fe

#[cfg(feature = "sync")]
use embedded_hal::i2c::ErrorType;
#[cfg(feature = "async")]
use embedded_hal::i2c::ErrorType as AsyncErrorType;
#[cfg(feature = "sync")]
use embedded_hal::i2c::I2c;
#[cfg(feature = "async")]
use embedded_hal_async::i2c::ErrorType as AsyncErrorType;
#[cfg(feature = "async")]
use embedded_hal_async::i2c::I2c as AsyncI2c;

/// The DS4432's I2C addresses.
Expand Down

0 comments on commit b1ee764

Please sign in to comment.