diff options
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/serial_usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/include/serial_usb.h b/os/hal/include/serial_usb.h index 25ce4859b..1d3d23f74 100644 --- a/os/hal/include/serial_usb.h +++ b/os/hal/include/serial_usb.h @@ -59,7 +59,7 @@ /* Derived constants and error checks. */
/*===========================================================================*/
-#if !HAL_USE_USB && !CH_USE_QUEUES && !CH_USE_EVENTS
+#if !HAL_USE_USB || !CH_USE_QUEUES || !CH_USE_EVENTS
#error "Serial over USB Driver requires HAL_USE_USB, CH_USE_QUEUES, "
"CH_USE_EVENTS"
#endif
|