Commit 4749a56
fix: top panel S10 min/max was showing S0 data
Condition 'topIdx < 10' in updateLiveDisplay() excluded slot 10
from getting its own min/max values. Fallback used sMinT/sMaxT from
the current slot (_currentSensorIdx) instead of S10's cached values.
Changed to 'topIdx <= 10' so S10 (DHT22 on GPIO 10) gets correct
min/max from _cachedMin[10]/_cachedMax[10]/_cachedHumMin[10]/_cachedHumMax[10].
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 4868fb7 commit 4749a56
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments