Merge pull request #17 from jdrouet/patch-1

Add missing public new function for Timer16
This commit is contained in:
Dylan McKay 2020-07-23 21:20:23 +12:00 committed by GitHub
commit 10bf1ba6b3
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> {
#[inline]
fn new() -> Self {
pub fn new() -> Self {
Timer16Setup {
a: RegisterBits::zero(),
b: RegisterBits::zero(),