Also fix time_driver.rs
This commit is contained in:
parent
ab7c767c46
commit
92fa49f502
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ impl RtcDriver {
|
||||||
Ok(n) => n,
|
Ok(n) => n,
|
||||||
};
|
};
|
||||||
|
|
||||||
r.psc().write(|w| w.set_psc(psc));
|
r.psc().write_value(psc);
|
||||||
r.arr().write(|w| w.set_arr(u16::MAX));
|
r.arr().write(|w| w.set_arr(u16::MAX));
|
||||||
|
|
||||||
// Set URS, generate update and clear URS
|
// Set URS, generate update and clear URS
|
||||||
|
|
Loading…
Add table
Reference in a new issue