Skip to content

Commit c4192b1

Browse files
committed
fmpi2c timings
1 parent 880e242 commit c4192b1

File tree

9 files changed

+613
-311
lines changed

9 files changed

+613
-311
lines changed

.zed/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"rust-analyzer": {
44
"initialization_options": {
55
"cargo": {
6-
"features": ["defmt", "rtic1", "stm32f411"]
6+
"features": ["defmt", "rtic1", "stm32f446"]
77
},
88
"check": {
99
"allTargets": false,

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ dsihost = []
506506
eth = []
507507
fmc = []
508508
fsmc = []
509-
fmpi2c1 = []
509+
fmpi2c1 = ["dep:micromath"]
510510
gpiod = []
511511
gpioe = []
512512
gpiof = []

examples/display-touch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//!
1+
//!
22
//! Demonstrates use of I2C bus to configure and use FT6x06 touchscreen controller
33
//!
44
//! Hardware Required: STM32F412G-DISCO board or STM32F413H-DISCO board
@@ -32,7 +32,7 @@ use embedded_graphics_07::{
3232
};
3333

3434
#[cfg(feature = "stm32f413")]
35-
use stm32f4xx_hal::fmpi2c::FMPI2c;
35+
use stm32f4xx_hal::fmpi2c::I2c;
3636
#[cfg(feature = "stm32f412")]
3737
use stm32f4xx_hal::i2c::I2c;
3838

0 commit comments

Comments
 (0)