mirror of https://github.com/eldruin/ds323x-rs
Remove leading 0 to avoid confusion
parent
954ab66f3b
commit
f9a4918354
|
@ -146,7 +146,7 @@ fn main() {
|
||||||
let mut rtc = Ds323x::new_ds3231(dev);
|
let mut rtc = Ds323x::new_ds3231(dev);
|
||||||
let datetime = DateTime {
|
let datetime = DateTime {
|
||||||
year: 2018,
|
year: 2018,
|
||||||
month: 08,
|
month: 8,
|
||||||
day: 20,
|
day: 20,
|
||||||
weekday: 4,
|
weekday: 4,
|
||||||
hour: Hours::H24(19),
|
hour: Hours::H24(19),
|
||||||
|
|
|
@ -10,7 +10,7 @@ fn main() {
|
||||||
let mut rtc = Ds323x::new_ds3231(dev);
|
let mut rtc = Ds323x::new_ds3231(dev);
|
||||||
let datetime = DateTime {
|
let datetime = DateTime {
|
||||||
year: 2018,
|
year: 2018,
|
||||||
month: 08,
|
month: 8,
|
||||||
day: 20,
|
day: 20,
|
||||||
weekday: 4,
|
weekday: 4,
|
||||||
hour: Hours::H24(19),
|
hour: Hours::H24(19),
|
||||||
|
|
|
@ -214,7 +214,7 @@
|
||||||
//! let mut rtc = Ds323x::new_ds3231(dev);
|
//! let mut rtc = Ds323x::new_ds3231(dev);
|
||||||
//! let datetime = DateTime {
|
//! let datetime = DateTime {
|
||||||
//! year: 2018,
|
//! year: 2018,
|
||||||
//! month: 08,
|
//! month: 8,
|
||||||
//! day: 15,
|
//! day: 15,
|
||||||
//! weekday: 4,
|
//! weekday: 4,
|
||||||
//! hour: Hours::H24(19),
|
//! hour: Hours::H24(19),
|
||||||
|
|
Loading…
Reference in New Issue