Skip to content

Commit

Permalink
doc: fix doxygen error for device.h macros
Browse files Browse the repository at this point in the history
Doxygen has issues with function macros (those that don't end with a
semicolon).  Workaround is to have doxygen treat these as predefined by
the doxygen preprocessor.

Fixes: #7367

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
  • Loading branch information
dbkinder authored and nashif committed Jun 11, 2018
1 parent 252be0b commit 4dcf928
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/zephyr.doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -1983,6 +1983,8 @@ PREDEFINED = "CONFIG_SYS_CLOCK_EXISTS=y" \
"CONFIG_USERSPACE=y" \
"CONFIG_BT_BREDR=y" \
"NET_MGMT_DEFINE_REQUEST_HANDLER(x)=" \
"DEVICE_DEFINE()=" \
"DEVICE_AND_API_INIT()=" \
"__deprecated=" \
"__packed=" \
"__aligned(x)=" \
Expand Down

0 comments on commit 4dcf928

Please sign in to comment.