Ensure math functions are named consistently

This commit is contained in:
2024-09-19 20:28:06 +02:00
parent 560715fd0b
commit a548518b9c
3 changed files with 11 additions and 13 deletions

View File

@@ -134,9 +134,9 @@ static void Update(void)
raw = I2C_ADS1115_ReadRaw(ADS03);
t[5] = SteinhartHart(Resistance(raw));
dp[0] = Dewp(t[0], rh[0]);
dp[1] = Dewp(t[1], rh[1]);
dp[2] = Dewp(t[2], rh[2]);
dp[0] = Dewpoint(t[0], rh[0]);
dp[1] = Dewpoint(t[1], rh[1]);
dp[2] = Dewpoint(t[2], rh[2]);
Info("T1=%.2fC, RH1=%.2f%%, NT1=%.2fC, DEW1=%.2fC", t[0], rh[0], t[3], dp[0]);
Info("T2=%.2fC, RH2=%.2f%%, NT2=%.2fC, DEW2=%.2fC", t[1], rh[1], t[4], dp[1]);