Skip to content

Commit 6293d35

Browse files
careyk007hannobraun
authored andcommitted
minor API change
1 parent 4c8a20b commit 6293d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nrf52-hal-common/src/timer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl<T> PeriodicTimer<T>
6565
where
6666
T: Instance,
6767
{
68-
pub fn new_periodic(timer: T) -> PeriodicTimer<T> {
68+
pub fn new(timer: T) -> PeriodicTimer<T> {
6969
timer
7070
.shorts
7171
.write(|w| w.compare0_clear().enabled().compare0_stop().disabled());

0 commit comments

Comments
 (0)