unify fastReadNum

This commit is contained in:
2026-01-02 12:24:33 +01:00
parent a54b89bce8
commit c0af0dee95
4 changed files with 21 additions and 23 deletions

View File

@@ -81,5 +81,5 @@ void sys::updateSensors(sysSensors* s) {
static char buf[8];
utils::fastReadNum(s->hwmon + "/fan2_input", buf, s->fan_speed[0]);
utils::fastReadNum(s->hwmon + "/fan7_input", buf, s->fan_speed[1]);
utils::fastReadNumDiv<1000>(s->hwmon + "/temp5_input", buf, s->t_sensor);
utils::fastReadNum<1000>(s->hwmon + "/temp5_input", buf, s->t_sensor);
}