Ensure math functions are named consistently
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user