Skip to content

Commit 3d39f72

Browse files
nashifgalak
authored andcommitted
sensor: use function properties to document the context
We now have function properties which can replace the confusing message in the doxygen docs. Fixes #10499 Signed-off-by: Anas Nashif <[email protected]>
1 parent c708a17 commit 3d39f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/drivers/sensor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ static inline int z_impl_sensor_attr_get(const struct device *dev,
451451
* driver. It is currently up to the caller to ensure that the handler
452452
* does not overflow the stack.
453453
*
454-
* This API is not permitted for user threads.
454+
* @funcprops \supervisor
455455
*
456456
* @param dev Pointer to the sensor device
457457
* @param trig The trigger to activate

0 commit comments

Comments
 (0)