made buzzer async

This commit is contained in:
2025-05-05 13:12:52 +02:00
parent 1ba74be096
commit 17a66e26cb
2 changed files with 17 additions and 17 deletions

View File

@@ -79,8 +79,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
.add_id(id_store::TallyID(tally_id_string))
{
info!("Added new id to current day");
// TODO: trigger the buzzer
buzzer::beep_ack();
buzzer::beep_ack().await;
// led.set_named_color_time(NamedColor::Green, 1); //led is green for 1 sec
if let Err(e) = channel_store.lock().await.export_json(STORE_PATH).await {