Skip to content

Commit

Permalink
Fixing implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-summers committed Mar 7, 2024
1 parent 7218137 commit a3d01e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion embedded-hal-bus/src/i2c/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl<T: Error> Error for AtomicError<T> {
}
}

unsafe impl<'a, T> Sync for AtomicDevice<'a, T> {}
unsafe impl<'a, T> Send for AtomicDevice<'a, T> {}

impl<'a, T> AtomicDevice<'a, T>
where
Expand Down
2 changes: 1 addition & 1 deletion embedded-hal-bus/src/i2c/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ pub use mutex::*;
mod critical_section;
pub use self::critical_section::*;
mod atomic;
pub use self::atomic::*;
pub use atomic::*;

0 comments on commit a3d01e1

Please sign in to comment.