diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-06 15:54:56 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-06 15:54:56 +0000 |
commit | 0847ae54f0d4f32f87dc47338a5a9903ce6bc3e0 (patch) | |
tree | 0a1ff7e3a870537751e19ce3083584fb9f9bc7a3 /os | |
parent | 100573d2c30750a50c3dfd9f3e7a051dcc987724 (diff) | |
download | ChibiOS-0847ae54f0d4f32f87dc47338a5a9903ce6bc3e0.tar.gz ChibiOS-0847ae54f0d4f32f87dc47338a5a9903ce6bc3e0.tar.bz2 ChibiOS-0847ae54f0d4f32f87dc47338a5a9903ce6bc3e0.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2718 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/include/serial_usb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/include/serial_usb.h b/os/hal/include/serial_usb.h index 9223c82a3..03c075f62 100644 --- a/os/hal/include/serial_usb.h +++ b/os/hal/include/serial_usb.h @@ -53,8 +53,9 @@ /* Derived constants and error checks. */
/*===========================================================================*/
-#if !HAL_USE_USB && !CH_USE_EVENTS
-#error "Serial over USB Driver requires HAL_USE_USB and 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
/*===========================================================================*/
|