File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -927,22 +927,23 @@ static inline int z_impl_sensor_channel_get(const struct device *dev,
927
927
* Generic data structure used for encoding the sample timestamp and number of channels sampled.
928
928
*/
929
929
struct __attribute__((__packed__ )) sensor_data_generic_header {
930
- /* The timestamp at which the data was collected from the sensor */
930
+ /** The timestamp at which the data was collected from the sensor */
931
931
uint64_t timestamp_ns ;
932
932
933
933
/*
934
- * The number of channels present in the frame. This will be the true number of elements in
935
- * channel_info and in the q31 values that follow the header.
934
+ ** The number of channels present in the frame.
935
+ * This will be the true number of elements in channel_info and in the q31 values that
936
+ * follow the header.
936
937
*/
937
938
uint32_t num_channels ;
938
939
939
- /* Shift value for all samples in the frame */
940
+ /** Shift value for all samples in the frame */
940
941
int8_t shift ;
941
942
942
943
/* This padding is needed to make sure that the 'channels' field is aligned */
943
944
int8_t _padding [sizeof (struct sensor_chan_spec ) - 1 ];
944
945
945
- /* Channels present in the frame */
946
+ /** Channels present in the frame */
946
947
struct sensor_chan_spec channels [0 ];
947
948
};
948
949
You can’t perform that action at this time.
0 commit comments