Commit 0a38762
committed
fix: checkAndAutoHealSensors skips non-DS18B20 types + BME280 boot timeout
- AppManager_Sensors.cpp: 1-Wire ROM check now skips DHT22/BME280 sensors,
preventing false 'Sensor missing' warnings every 60s for non-1-Wire types.
- BME280Driver.h: added I2C timeout (50ms) and ACK probe before chip reset.
Prevents boot hang when BME280 is configured but not physically present.
begin() returns gracefully with _compLoaded=false if no device ACKs.1 parent 89080f5 commit 0a38762
2 files changed
Lines changed: 29 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | | - | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
104 | 119 | | |
105 | | - | |
| 120 | + | |
| 121 | + | |
106 | 122 | | |
107 | | - | |
| 123 | + | |
108 | 124 | | |
109 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
110 | 128 | | |
111 | 129 | | |
112 | 130 | | |
| |||
0 commit comments