From 9f475d92d1eeebf5f2ad7d0db5d96d92d655d111 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 28 Feb 2025 21:15:30 -0500 Subject: set ve --- ui.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui.c') diff --git a/ui.c b/ui.c index c88ccb5..6f31e35 100644 --- a/ui.c +++ b/ui.c @@ -77,6 +77,11 @@ set_map(UI *ui, int idx) { ui->points[idx].map = p; } +void +set_ve(UI *ui, int idx) { + ui->points[idx].ve = percent(ui->ve[idx].value); +} + void set_volume_flow_rate(UI *ui, int idx) { int unit_idx; -- cgit v1.2.3