Skip to content

Commit dfd0eed

Browse files
kartbencarlescufi
authored andcommitted
doc: fix Doxygen doc for LOG2(x)
Param x was documented twice. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 9847459 commit dfd0eed

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/zephyr/sys/util.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,9 +538,7 @@ char *utf8_lcpy(char *dst, const char *src, size_t n);
538538
* @note This macro expands its argument multiple times (to permit use
539539
* in constant expressions), which must not have side effects.
540540
*
541-
* @param x An unsigned integral value
542-
*
543-
* @param x value to compute logarithm of (positive only)
541+
* @param x An unsigned integral value to compute logarithm of (positive only)
544542
*
545543
* @return log2(x) when 1 <= x <= max(x), -1 when x < 1
546544
*/

0 commit comments

Comments
 (0)