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 5eb4bdb commit 4a4edeaCopy full SHA for 4a4edea
CHANGELOG.md
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
10
### Added
11
12
- Added implementation of transactional SPI and I2C traits.
13
+- `Default` implementation for `SysTimer`.
14
15
### Changed
16
src/timer.rs
@@ -26,6 +26,12 @@ impl SysTimer {
26
}
27
28
29
+impl Default for SysTimer {
30
+ fn default() -> SysTimer {
31
+ SysTimer::new()
32
+ }
33
+}
34
+
35
impl CountDown for SysTimer {
36
type Time = Duration;
37
0 commit comments