Skip to content

Commit

Permalink
Update imxrt1060-hal/src/gpio.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ian McIntyre <ianpmcintyre@gmail.com>
  • Loading branch information
algesten and mciantyre committed Sep 18, 2021
1 parent 9bab8d3 commit 1703b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imxrt-hal/src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ where

/// Returns the ICR field offset for this GPIO
///
/// ICR is "Interrupt Clear Register"
/// ICR is "Interrupt Configuration Register"
fn icr_offset(&self) -> usize {
(<P as Pin>::Offset::USIZE % 16) * 2
}
Expand Down

0 comments on commit 1703b81

Please sign in to comment.