Skip to content
Commit b0c0548a authored by Sergio Rodriguez's avatar Sergio Rodriguez Committed by Anas Nashif
Browse files

samples: drivers: current sensing : Exit from testcase if device not found



Exiting from the test case when the i2c device is not found, this
to avoid a null pointer dereference

This issue was reported by Coverity

Coverity-CID: 151982

Change-Id: Ib11224ef2a78170f6e4d20545f645b4f2ea4a181
Signed-off-by: default avatarSergio Rodriguez <sergio.sf.rodriguez@intel.com>
parent 710f9a22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment