Skip to content

Commit

Permalink
Changed interval
Browse files Browse the repository at this point in the history
  • Loading branch information
Nereuxofficial committed Jun 11, 2023
1 parent 92bbcac commit 17d5ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async fn main_loop(
uuid: [char; 32],
) {
// When the DHT11/DHT22 is connected our timer cannot be shorter than 1 Minute.
let mut ticker = Ticker::every(Duration::from_secs(20 * 1));
let mut ticker = Ticker::every(Duration::from_secs(60 * 5));
#[cfg(feature = "hw390")]
// Create hw390 instance with gpio2
let mut hw390 = {
Expand Down

0 comments on commit 17d5ff0

Please sign in to comment.