aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/twim.rs
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2022-09-29 11:02:43 +0200
committerUlf Lilleengen <[email protected]>2022-09-29 11:27:46 +0200
commit72c2e985bb481fbc2e138a8e98b9dbb27878f370 (patch)
treef573324f2449b68b7b1fef579b755a67dbb406d7 /embassy-nrf/src/twim.rs
parent77ece3f903735b50f265ddd43520c50e0f28c1a1 (diff)
Update embedded-hal versions and explicitly pin
Diffstat (limited to 'embassy-nrf/src/twim.rs')
-rw-r--r--embassy-nrf/src/twim.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/embassy-nrf/src/twim.rs b/embassy-nrf/src/twim.rs
index 7c6ca1d30..8d6171fac 100644
--- a/embassy-nrf/src/twim.rs
+++ b/embassy-nrf/src/twim.rs
@@ -793,7 +793,7 @@ mod eh1 {
793 type Error = Error; 793 type Error = Error;
794 } 794 }
795 795
796 impl<'d, T: Instance> embedded_hal_1::i2c::blocking::I2c for Twim<'d, T> { 796 impl<'d, T: Instance> embedded_hal_1::i2c::I2c for Twim<'d, T> {
797 fn read(&mut self, address: u8, buffer: &mut [u8]) -> Result<(), Self::Error> { 797 fn read(&mut self, address: u8, buffer: &mut [u8]) -> Result<(), Self::Error> {
798 self.blocking_read(address, buffer) 798 self.blocking_read(address, buffer)
799 } 799 }
@@ -823,14 +823,14 @@ mod eh1 {
823 fn transaction<'a>( 823 fn transaction<'a>(
824 &mut self, 824 &mut self,
825 _address: u8, 825 _address: u8,
826 _operations: &mut [embedded_hal_1::i2c::blocking::Operation<'a>], 826 _operations: &mut [embedded_hal_1::i2c::Operation<'a>],
827 ) -> Result<(), Self::Error> { 827 ) -> Result<(), Self::Error> {
828 todo!(); 828 todo!();
829 } 829 }
830 830
831 fn transaction_iter<'a, O>(&mut self, _address: u8, _operations: O) -> Result<(), Self::Error> 831 fn transaction_iter<'a, O>(&mut self, _address: u8, _operations: O) -> Result<(), Self::Error>
832 where 832 where
833 O: IntoIterator<Item = embedded_hal_1::i2c::blocking::Operation<'a>>, 833 O: IntoIterator<Item = embedded_hal_1::i2c::Operation<'a>>,
834 { 834 {
835 todo!(); 835 todo!();
836 } 836 }