Add missing public new function for Timer16

This function is public for `Timer8`
This commit is contained in:
Jérémie Drouet 2020-07-22 22:37:25 +02:00 committed by GitHub
parent ab5cc85d29
commit e6cc6005ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ pub struct Timer16Setup<T: Timer16> {
impl<T: Timer16> Timer16Setup<T> { impl<T: Timer16> Timer16Setup<T> {
#[inline] #[inline]
fn new() -> Self { pub fn new() -> Self {
Timer16Setup { Timer16Setup {
a: RegisterBits::zero(), a: RegisterBits::zero(),
b: RegisterBits::zero(), b: RegisterBits::zero(),