aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjrmoulton <[email protected]>2025-06-10 15:49:31 -0600
committerjrmoulton <[email protected]>2025-06-10 15:53:02 -0600
commit3b2dd2bad846f237c33f60013ef2a880489c55c9 (patch)
tree7d21bee626f1fa71008010a6f2bcf90dcd683a6c
parentcfad9798ff99d4de0571a512d156b5fe1ef1d427 (diff)
fmt
-rw-r--r--embassy-stm32/src/i2c/v2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/i2c/v2.rs b/embassy-stm32/src/i2c/v2.rs
index 990ce7d21..48008b695 100644
--- a/embassy-stm32/src/i2c/v2.rs
+++ b/embassy-stm32/src/i2c/v2.rs
@@ -48,7 +48,7 @@ pub(crate) unsafe fn on_interrupt<T: Instance>() {
48 regs.cr1().modify(|w| { 48 regs.cr1().modify(|w| {
49 w.set_addrie(false); 49 w.set_addrie(false);
50 w.set_stopie(false); 50 w.set_stopie(false);
51 // The flag can only be cleared by writting to nbytes, we won't do that here 51 // The flag can only be cleared by writting to nbytes, we won't do that here
52 w.set_tcie(false); 52 w.set_tcie(false);
53 // Error flags are to be read in the routines, so we also don't clear them here 53 // Error flags are to be read in the routines, so we also don't clear them here
54 w.set_nackie(false); 54 w.set_nackie(false);