Changed sleep_ms to sleep

master
noah metz 2024-01-18 17:23:20 -07:00
parent 64c77b259d
commit c6a19c4a63
1 changed files with 1 additions and 1 deletions

@ -248,7 +248,7 @@ fn on_score_change(notice: tm::Notice) -> Vec<MQTTMessage> {
}
fn get_next_notice() -> tm::Notice {
thread::sleep_ms(1000);
thread::sleep(Duration::from_millis(1000));
return tm::Notice::default();
}