Skip to content
Commit a1450d31 authored by Xinrong Han's avatar Xinrong Han Committed by Anas Nashif
Browse files

samples: sensor: mcp9808: add error checks in trigger_handler()



Validate that sensor_sample_fetch() and sensor_channel_get() are on
success.

Fixes #29945

Signed-off-by: default avatarXinrong Han <hanxr19@mails.tsinghua.edu.cn>
parent 38eed65b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment