Skip to content

Commit

Permalink
1376 - I2C runtime ISR binding example update.
Browse files Browse the repository at this point in the history
After esp-rs#1376 the reference example requires the extra
Option<InterruptHadnler>, adding it to the doc example/snippet.

Signed-off-by: Seb Ospina <[email protected]>
  • Loading branch information
sebosp committed Apr 27, 2024
1 parent 0354880 commit 122be59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esp-hal/src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
//! io.pins.gpio2,
//! 100.kHz(),
//! &clocks,
//! None,
//! );
//! loop {
//! let mut data = [0u8; 22];
Expand Down

0 comments on commit 122be59

Please sign in to comment.