Skip to content

Commit

Permalink
sensor: use function properties to document the context
Browse files Browse the repository at this point in the history
We now have function properties which can replace the confusing message
in the doxygen docs.

Fixes #10499

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif authored and galak committed May 29, 2021
1 parent c708a17 commit 3d39f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/drivers/sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ static inline int z_impl_sensor_attr_get(const struct device *dev,
* driver. It is currently up to the caller to ensure that the handler
* does not overflow the stack.
*
* This API is not permitted for user threads.
* @funcprops \supervisor
*
* @param dev Pointer to the sensor device
* @param trig The trigger to activate
Expand Down

0 comments on commit 3d39f72

Please sign in to comment.