We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac96bc5 commit be70b89Copy full SHA for be70b89
CHANGELOG.md
@@ -99,6 +99,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99
API. ([#263])
100
- Change timer interrupt API to the same of the serial interface. ([#264])
101
- Make timer Events `#[non_exhaustive]`. ([#264])
102
+- Renames timers `release()` function to `free()` to be more in line with the
103
+ rest of this crate. ([#264])
104
105
## [v0.7.0] - 2021-06-18
106
src/timer.rs
@@ -296,7 +296,8 @@ macro_rules! hal {
296
}
297
298
/// Releases the TIM peripheral
299
- pub fn release(mut self) -> $TIMX {
+ #[inline]
300
+ pub fn free(mut self) -> $TIMX {
301
self.stop();
302
self.tim
303
0 commit comments