From f6c9ebb65b9a1239638125b7c1f910f12c722b79 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 25 Sep 2007 17:39:47 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@20 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/LPC214x-GCC/chconf.h | 8 ++++---- demos/LPC214x-GCC/chtypes.h | 2 +- demos/Win32-MSVS/chtypes.h | 2 +- demos/Win32-MinGW/chtypes.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'demos') diff --git a/demos/LPC214x-GCC/chconf.h b/demos/LPC214x-GCC/chconf.h index bb03058c8..30670c8fd 100644 --- a/demos/LPC214x-GCC/chconf.h +++ b/demos/LPC214x-GCC/chconf.h @@ -72,7 +72,7 @@ /** Configuration option: if specified then the Semaphores APIs with priority * shift are included in the kernel. * @note requires \p CH_USE_SEMAPHORES.*/ -//#define CH_USE_RT_SEMAPHORES +#define CH_USE_RT_SEMAPHORES /** Configuration option: if specified then the Events APIs are included in * the kernel.*/ @@ -82,7 +82,7 @@ * function is included in the kernel. * @note requires \p CH_USE_EVENTS. * @note requires \p CH_USE_VIRTUAL_TIMERS.*/ -//#define CH_USE_EVENTS_TIMEOUT +#define CH_USE_EVENTS_TIMEOUT /** Configuration option: if specified then the Synchronous Messages APIs are * included in the kernel.*/ @@ -92,13 +92,13 @@ * function is included in the kernel. * @note requires \p CH_USE_MESSAGES. * @note requires \p CH_USE_VIRTUAL_TIMERS.*/ -//#define CH_USE_MESSAGES_TIMEOUT +#define CH_USE_MESSAGES_TIMEOUT /** Configuration option: if specified then the \p chMsgSendWithEvent() * function is included in the kernel. * @note requires \p CH_USE_MESSAGES. * @note requires \p CH_USE_VIRTUAL_TIMERS.*/ -//#define CH_USE_MESSAGES_EVENT +#define CH_USE_MESSAGES_EVENT /** Configuration option: if specified then the * \p chThdGetExitEventSource() function is included in the kernel. diff --git a/demos/LPC214x-GCC/chtypes.h b/demos/LPC214x-GCC/chtypes.h index 48bf7a7d9..49c7c6c38 100644 --- a/demos/LPC214x-GCC/chtypes.h +++ b/demos/LPC214x-GCC/chtypes.h @@ -33,7 +33,7 @@ typedef BYTE8 t_tmode; typedef BYTE8 t_tstate; -typedef WORD16 t_prio; +typedef LONG32 t_prio; typedef PTR_EQ t_msg; typedef LONG32 t_eventid; typedef ULONG32 t_eventmask; diff --git a/demos/Win32-MSVS/chtypes.h b/demos/Win32-MSVS/chtypes.h index 33eb4b963..f7d05b855 100644 --- a/demos/Win32-MSVS/chtypes.h +++ b/demos/Win32-MSVS/chtypes.h @@ -33,7 +33,7 @@ typedef BYTE8 t_tmode; typedef BYTE8 t_tstate; -typedef WORD16 t_prio; +typedef LONG32 t_prio; typedef PTR_EQ t_msg; typedef LONG32 t_eventid; typedef ULONG32 t_eventmask; diff --git a/demos/Win32-MinGW/chtypes.h b/demos/Win32-MinGW/chtypes.h index 48bf7a7d9..49c7c6c38 100644 --- a/demos/Win32-MinGW/chtypes.h +++ b/demos/Win32-MinGW/chtypes.h @@ -33,7 +33,7 @@ typedef BYTE8 t_tmode; typedef BYTE8 t_tstate; -typedef WORD16 t_prio; +typedef LONG32 t_prio; typedef PTR_EQ t_msg; typedef LONG32 t_eventid; typedef ULONG32 t_eventmask; -- cgit v1.2.3