aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/io_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/io_channel.h')
-rw-r--r--os/hal/include/io_channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/io_channel.h b/os/hal/include/io_channel.h
index b0c21a9ee..f48eae822 100644
--- a/os/hal/include/io_channel.h
+++ b/os/hal/include/io_channel.h
@@ -199,7 +199,7 @@ typedef struct {
#define chnReadTimeout(ip, bp, n, time) ((ip)->vmt->readt(ip, bp, n, time))
/** @} */
-#if CH_USE_EVENTS || defined(__DOXYGEN__)
+#if CH_CFG_USE_EVENTS || defined(__DOXYGEN__)
/**
* @name I/O status flags added to the event listener
* @{
@@ -287,7 +287,7 @@ typedef struct {
}
/** @} */
-#endif /* CH_USE_EVENTS */
+#endif /* CH_CFG_USE_EVENTS */
#endif /* _IO_CHANNEL_H_ */