aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/timer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-nrf/src/timer.rs')
-rw-r--r--embassy-nrf/src/timer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/timer.rs b/embassy-nrf/src/timer.rs
index a9487a9fd..48b4f1b55 100644
--- a/embassy-nrf/src/timer.rs
+++ b/embassy-nrf/src/timer.rs
@@ -117,7 +117,7 @@ impl<'d, T: Instance> Timer<'d, T> {
117 117
118 let regs = T::regs(); 118 let regs = T::regs();
119 119
120 let mut this = Self { _p: timer }; 120 let this = Self { _p: timer };
121 121
122 // Stop the timer before doing anything else, 122 // Stop the timer before doing anything else,
123 // since changing BITMODE while running can cause 'unpredictable behaviour' according to the specification. 123 // since changing BITMODE while running can cause 'unpredictable behaviour' according to the specification.