diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-03-02 12:18:34 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-03-02 12:18:34 -0500 |
| commit | cd73fd40ffc04a65abe0260fe82949d7c354e282 (patch) | |
| tree | 5162949c3f3e65508072eacb52f3b1c562958607 /ui.c | |
| parent | 5e379b1cf70006dbe782df991a655c475630a146 (diff) | |
| download | volute-cd73fd40ffc04a65abe0260fe82949d7c354e282.zip | |
add inHG pressure unit
Diffstat (limited to 'ui.c')
| -rw-r--r-- | ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,12 +37,12 @@ static const TemperatureReader temperature_readers[nelem(temperature_units)] = { as_celsius, as_kelvin, as_fahrenheit, as_rankine, }; -static const char *const pressure_units[] = {"mbar", "kPa", "bar", "psi"}; +static const char *const pressure_units[] = {"mbar", "kPa", "bar", "psi", "inHG"}; static const PressureMaker pressure_makers[nelem(pressure_units)] = { - millibar, kilopascal, bar, psi, + millibar, kilopascal, bar, psi, inch_mercury, }; static const PressureReader pressure_readers[nelem(pressure_units)] = { - as_millibar, as_kilopascal, as_bar, as_psi, + as_millibar, as_kilopascal, as_bar, as_psi, as_inch_mercury, }; static const char *const volume_flow_rate_units[] = {"m³/s", "CFM"}; |