aboutsummaryrefslogtreecommitdiff
path: root/embassy-embedded-hal/src/shared_bus/blocking/i2c.rs
diff options
context:
space:
mode:
authorRaul Alimbekov <[email protected]>2025-12-16 09:05:22 +0300
committerGitHub <[email protected]>2025-12-16 09:05:22 +0300
commitc9a04b4b732b7a3b696eb8223664c1a7942b1875 (patch)
tree6dbe5c02e66eed8d8762f13f95afd24f8db2b38c /embassy-embedded-hal/src/shared_bus/blocking/i2c.rs
parentcde24a3ef1117653ba5ed4184102b33f745782fb (diff)
parent5ae6e060ec1c90561719aabdc29d5b6e7b8b0a82 (diff)
Merge branch 'main' into main
Diffstat (limited to 'embassy-embedded-hal/src/shared_bus/blocking/i2c.rs')
-rw-r--r--embassy-embedded-hal/src/shared_bus/blocking/i2c.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-embedded-hal/src/shared_bus/blocking/i2c.rs b/embassy-embedded-hal/src/shared_bus/blocking/i2c.rs
index dc634a209..49b50f8c1 100644
--- a/embassy-embedded-hal/src/shared_bus/blocking/i2c.rs
+++ b/embassy-embedded-hal/src/shared_bus/blocking/i2c.rs
@@ -17,12 +17,12 @@
17 17
18use core::cell::RefCell; 18use core::cell::RefCell;
19 19
20use embassy_sync::blocking_mutex::raw::RawMutex;
21use embassy_sync::blocking_mutex::Mutex; 20use embassy_sync::blocking_mutex::Mutex;
21use embassy_sync::blocking_mutex::raw::RawMutex;
22use embedded_hal_1::i2c::{ErrorType, I2c, Operation}; 22use embedded_hal_1::i2c::{ErrorType, I2c, Operation};
23 23
24use crate::shared_bus::I2cDeviceError;
25use crate::SetConfig; 24use crate::SetConfig;
25use crate::shared_bus::I2cDeviceError;
26 26
27/// I2C device on a shared bus. 27/// I2C device on a shared bus.
28pub struct I2cDevice<'a, M: RawMutex, BUS> { 28pub struct I2cDevice<'a, M: RawMutex, BUS> {