Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Converted NOTE to FIXME
  • Loading branch information
bjoernQ committed Nov 16, 2022
commit b48e77a6d904572f8aa4b976a3755a1d0c0f08dd
3 changes: 2 additions & 1 deletion esp-hal-common/src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ pub trait Instance {
.modify(|_, w| w.ref_always_on().set_bit());

// Configure filter
// FIXME if we ever change this we need to adapt `set_frequency` for ESP32
self.set_filter(Some(7), Some(7));

// Configure frequency
Expand Down Expand Up @@ -465,7 +466,7 @@ pub trait Instance {
// In the "worst" case, we will subtract 13, make sure the result will still be
// correct

// NOTE since we always set the filter threshold to 7 we don't need conditional code here
// FIXME since we always set the filter threshold to 7 we don't need conditional code here
// once that changes we need the conditional code here
scl_high -= 7 + 6;

Expand Down