mirror of https://github.com/eldruin/ds323x-rs
destroy device at the end
parent
e5ee15439f
commit
d0bcb715ce
|
@ -21,4 +21,5 @@ fn main() {
|
||||||
// do something else...
|
// do something else...
|
||||||
let seconds = rtc.get_seconds().unwrap();
|
let seconds = rtc.get_seconds().unwrap();
|
||||||
println!("Seconds: {}", seconds);
|
println!("Seconds: {}", seconds);
|
||||||
|
let _dev = rtc.destroy_ds3231();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue