destroy device at the end

pull/4/head
Diego Barrios Romero 2018-11-16 19:42:47 +01:00
parent e5ee15439f
commit d0bcb715ce
1 changed files with 1 additions and 0 deletions

View File

@ -21,4 +21,5 @@ fn main() {
// do something else...
let seconds = rtc.get_seconds().unwrap();
println!("Seconds: {}", seconds);
let _dev = rtc.destroy_ds3231();
}