aboutsummaryrefslogtreecommitdiffstats
path: root/src/chevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chevents.c')
-rw-r--r--src/chevents.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chevents.c b/src/chevents.c
index e55cb759c..af42a36b3 100644
--- a/src/chevents.c
+++ b/src/chevents.c
@@ -160,7 +160,8 @@ void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask) {
}
}
-#if defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENTS_TIMEOUT)
+#if defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENTS_TIMEOUT) || \
+ defined(__DOXIGEN__)
/**
* A pending event among those specified in \p ewmask is selected, cleared and
* its mask returned.