From b4319d0aab553542c83bafad69f4224065cc6142 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 9 Jan 2011 10:39:16 +0000 Subject: Removed some instances of sdflags_t. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2627 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/Win32-MinGW/main.c | 4 ++-- os/hal/platforms/LPC214x/serial_lld.h | 5 ----- os/hal/templates/serial_lld.h | 5 ----- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/demos/Win32-MinGW/main.c b/demos/Win32-MinGW/main.c index cbdfc100d..d2effad35 100644 --- a/demos/Win32-MinGW/main.c +++ b/demos/Win32-MinGW/main.c @@ -169,7 +169,7 @@ static void termination_handler(eventid_t id) { * @param[in] id event id. */ static void sd1_handler(eventid_t id) { - sdflags_t flags; + ioflags_t flags; (void)id; flags = chIOGetAndClearFlags(&SD1); @@ -191,7 +191,7 @@ static void sd1_handler(eventid_t id) { * @param[in] id event id. */ static void sd2_handler(eventid_t id) { - sdflags_t flags; + ioflags_t flags; (void)id; flags = chIOGetAndClearFlags(&SD2); diff --git a/os/hal/platforms/LPC214x/serial_lld.h b/os/hal/platforms/LPC214x/serial_lld.h index f14b9524b..4dac88f20 100644 --- a/os/hal/platforms/LPC214x/serial_lld.h +++ b/os/hal/platforms/LPC214x/serial_lld.h @@ -95,11 +95,6 @@ /* Driver data structures and types. */ /*===========================================================================*/ -/** - * @brief Serial Driver condition flags type. - */ -typedef uint32_t sdflags_t; - /** * @brief LPC214x Serial Driver configuration structure. * @details An instance of this structure must be passed to @p sdStart() diff --git a/os/hal/templates/serial_lld.h b/os/hal/templates/serial_lld.h index 252f15fe5..3c2e8a299 100644 --- a/os/hal/templates/serial_lld.h +++ b/os/hal/templates/serial_lld.h @@ -46,11 +46,6 @@ /* Driver data structures and types. */ /*===========================================================================*/ -/** - * @brief Serial Driver condition flags type. - */ -typedef uint8_t sdflags_t; - /** * @brief Generic Serial Driver configuration structure. * @details An instance of this structure must be passed to @p sdStart() -- cgit v1.2.3