diff options
-rw-r--r-- | demos/Win32-MinGW/main.c | 4 | ||||
-rw-r--r-- | os/hal/platforms/LPC214x/serial_lld.h | 5 | ||||
-rw-r--r-- | 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 @@ -96,11 +96,6 @@ /*===========================================================================*/
/**
- * @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()
* in order to configure and start a serial driver operations.
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 @@ -47,11 +47,6 @@ /*===========================================================================*/
/**
- * @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()
* in order to configure and start a serial driver operations.
|