aboutsummaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-03-01 17:52:38 -0500
committerSam Anthony <sam@samanthony.xyz>2025-03-01 17:52:38 -0500
commitacf6a9282ee46400155549e407e0279c336a0ec8 (patch)
tree253e1c95706c7678d3d17504e9c55b0494496402 /ui.c
parentd70b86854e46af7461618fe1692dcc29d4ab0fdc (diff)
downloadvolute-acf6a9282ee46400155549e407e0279c336a0ec8.zip
set_rpm()
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index c54b28d..9d2557e 100644
--- a/ui.c
+++ b/ui.c
@@ -155,6 +155,11 @@ set_ambient_pressure_unit(UI *ui) {
}
void
+set_rpm(UI *ui, int idx) {
+ ui->points[idx].rpm = rpm(ui->rpm[idx].value);
+}
+
+void
set_map(UI *ui, int idx) {
int unit_idx;
PressureMaker convert;