Skip to content

samples: sensors: adt7420: Fail gracefully if sensor not found #12895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2019
Merged

samples: sensors: adt7420: Fail gracefully if sensor not found #12895

merged 1 commit into from
Jan 31, 2019

Conversation

MaureenHelm
Copy link
Member

Fixes the adt7420 sensor sample to fail gracefully if the sensor device
is not found and asserts are not enabled.

Signed-off-by: Maureen Helm maureen.helm@nxp.com

Fixes #12849

Fixes the adt7420 sensor sample to fail gracefully if the sensor device
is not found and asserts are not enabled.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
@MaureenHelm MaureenHelm requested a review from hakehuang January 30, 2019 21:42
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@8b583ac). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #12895   +/-   ##
=========================================
  Coverage          ?   53.51%           
=========================================
  Files             ?      239           
  Lines             ?    26988           
  Branches          ?     6521           
=========================================
  Hits              ?    14442           
  Misses            ?     9880           
  Partials          ?     2666

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b583ac...7d51925. Read the comment docs.

@nashif nashif merged commit cb2f9e9 into zephyrproject-rtos:master Jan 31, 2019
@MaureenHelm MaureenHelm deleted the adt7420-sample branch January 31, 2019 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants