Skip to content

Commit

Permalink
Add another api to sink binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 committed Oct 12, 2023
1 parent 0d0b98d commit 50d5e30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sink/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ async fn main() -> Result<(), sifis_api::Error> {
println!("{:<15} {:<7} {:<5} ", sink.id, flow, temperature);
sink.open_drain().await?;
sink.set_flow(0).await?;
sink.close_drain().await?;
}

Ok(())
Expand Down

0 comments on commit 50d5e30

Please sign in to comment.