File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments