commit | e1f27e8454a3e8fe6f282df28a6cc8bd28a4e006 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Wed Aug 07 21:24:59 2024 +0000 |
committer | CQ Bot Account <pigweed-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 07 21:24:59 2024 +0000 |
tree | fd1bb5803f9b2162123b29072f0925692326df86 | |
parent | 92f1754d529f9d70855eddede622d76b568217a4 [diff] |
sampling_thread: Continue if sensor init fails If a sensor doesn't initialize successfully, do not crash. Instead, log and skip reading from it. This allows the production app to run without the Enviro+. Also, reduce the timeout for the BME688 from 2 minutes to 1 second. Change-Id: I7b1cfa194a61129f76c3fb7fb37f06e1331388c4 Reviewed-on: https://pigweed-internal-review.git.corp.google.com/c/pigweed/showcase/rp2/+/74431 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Presubmit-Verified: CQ Bot Account <pigweed-internal-scoped@luci-project-accounts.iam.gserviceaccount.com>
git clone https://pigweed.googlesource.com/pigweed/showcase/sense
Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.
Please visit the tutorial to get started: https://pigweed.dev/docs/showcase/sense/tutorial/