Merge pull request #17 from jdrouet/patch-1
Add missing public new function for Timer16
This commit is contained in:
commit
10bf1ba6b3
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue