sensor: doc: add missing doc for decode() retvals
Added missing documentaiton for the return values of the decode() API Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
db21a6786a
commit
0bfd20567f
1 changed files with 3 additions and 1 deletions
|
@ -495,7 +495,9 @@ struct sensor_decoder_api {
|
|||
* @param[out] channels The channels that were decoded
|
||||
* @param[out] values The scaled data that was decoded
|
||||
* @param[in] max_count The maximum number of channels to decode.
|
||||
* @return
|
||||
* @retval > 0 The number of decoded values
|
||||
* @retval 0 Nothing else to decode on the @p buffer
|
||||
* @retval < 0 Error
|
||||
*/
|
||||
int (*decode)(const uint8_t *buffer, sensor_frame_iterator_t *fit,
|
||||
sensor_channel_iterator_t *cit, enum sensor_channel *channels, q31_t *values,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue