From e6cc6005ef68549fc9387b53ae3fb14e74549b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Drouet?= Date: Wed, 22 Jul 2020 22:37:25 +0200 Subject: [PATCH] Add missing public new function for Timer16 This function is public for `Timer8` --- src/modules/timer/timer16.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/timer/timer16.rs b/src/modules/timer/timer16.rs index f7cb27e..8699ba1 100644 --- a/src/modules/timer/timer16.rs +++ b/src/modules/timer/timer16.rs @@ -155,7 +155,7 @@ pub struct Timer16Setup { impl Timer16Setup { #[inline] - fn new() -> Self { + pub fn new() -> Self { Timer16Setup { a: RegisterBits::zero(), b: RegisterBits::zero(),