Changed sleep_ms to sleep
parent
64c77b259d
commit
c6a19c4a63
|
|
@ -248,7 +248,7 @@ fn on_score_change(notice: tm::Notice) -> Vec<MQTTMessage> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_next_notice() -> tm::Notice {
|
fn get_next_notice() -> tm::Notice {
|
||||||
thread::sleep_ms(1000);
|
thread::sleep(Duration::from_millis(1000));
|
||||||
return tm::Notice::default();
|
return tm::Notice::default();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue