diff options
Diffstat (limited to 'embassy-rp/src/gpio.rs')
| -rw-r--r-- | embassy-rp/src/gpio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-rp/src/gpio.rs b/embassy-rp/src/gpio.rs index c15e0e41b..154fc1585 100644 --- a/embassy-rp/src/gpio.rs +++ b/embassy-rp/src/gpio.rs | |||
| @@ -300,7 +300,7 @@ impl<'d> InputFuture<'d> { | |||
| 300 | 300 | ||
| 301 | // Each INTR register is divided into 8 groups, one group for each | 301 | // Each INTR register is divided into 8 groups, one group for each |
| 302 | // pin, and each group consists of LEVEL_LOW, LEVEL_HIGH, EDGE_LOW, | 302 | // pin, and each group consists of LEVEL_LOW, LEVEL_HIGH, EDGE_LOW, |
| 303 | // and EGDE_HIGH. | 303 | // and EDGE_HIGH. |
| 304 | pin.int_proc() | 304 | pin.int_proc() |
| 305 | .inte((pin.pin() / 8) as usize) | 305 | .inte((pin.pin() / 8) as usize) |
| 306 | .write_set(|w| match level { | 306 | .write_set(|w| match level { |
