Skip to content

Commit 1d3e46d

Browse files
James Munnshannobraun
authored andcommitted
Fix copy/paste
1 parent 643e61c commit 1d3e46d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nrf52-hal-common/src/rtc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ where
103103
/// Disable the generation of a hardware interrupt from a given stimulus
104104
///
105105
/// If access to the NVIC is not provided, the interrupt must ALSO be disabled
106-
/// there outside of this function (e.g. manually call `nvic.enable`, or through
106+
/// there outside of this function (e.g. manually call `nvic.disable`, or through
107107
/// the use of RTFM).
108108
pub fn disable_interrupt(&mut self, int: RtcInterrupt, nvic: Option<&mut NVIC>) {
109109
match int {

nrf52-hal-common/src/timer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ where
8181
/// that is given as an argument to `start`.
8282
///
8383
/// If access to the NVIC is not provided, the interrupt must ALSO be disabled
84-
/// there outside of this function (e.g. manually call `nvic.enable`, or through
84+
/// there outside of this function (e.g. manually call `nvic.disable`, or through
8585
/// the use of RTFM).
8686
pub fn disable_interrupt(&mut self, nvic: Option<&mut NVIC>) {
8787
// As of this writing, the timer code only uses

0 commit comments

Comments
 (0)