Skip to content
Commit 0d796ee2 authored by Aiman Mazlan's avatar Aiman Mazlan Committed by Anas Nashif
Browse files

drivers: sensor: st: vl53l1x: add return to attr_set and attr_get



Incorrect value set by user when using sensor_attr_set can fail silently
since it always returns 0.
Fix by adding ret. Also added return on sensor_attr_get.

Signed-off-by: default avatarAiman Mazlan <mohammad.aiman@stratusauto.com>
parent 3382e287
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment