Commit 5e89ae8
committed
change order of auto detection
Since the SHT3x and SHT4x share addresses, there's an issue when an SHT4x is
connected to the bus and we're probing for an SHT3x: The result is that the
first reading of the SHT4x is off.
The other direction works (probing for a 4x when a 3x is connected), as such
we're simply changing the order of detection1 parent 9831264 commit 5e89ae8
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
353 | 358 | | |
354 | 359 | | |
355 | 360 | | |
356 | | - | |
357 | | - | |
| 361 | + | |
358 | 362 | | |
359 | 363 | | |
360 | 364 | | |
| |||
0 commit comments