From 0847ae54f0d4f32f87dc47338a5a9903ce6bc3e0 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 6 Feb 2011 15:54:56 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2718 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/serial_usb.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'os/hal') 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 /*===========================================================================*/ -- cgit v1.2.3