diff --git a/demos/Win32-MinGW/chconf.h b/demos/Win32-MinGW/chconf.h index 53ee70cc1..8c124180e 100644 --- a/demos/Win32-MinGW/chconf.h +++ b/demos/Win32-MinGW/chconf.h @@ -232,16 +232,6 @@ #define CH_USE_QUEUES TRUE #endif -/** - * If specified then the full duplex serial driver APIs are included in the - * kernel. - * @note The default is @p TRUE. - * @note Requires @p CH_USE_QUEUES. - */ -#if !defined(CH_USE_SERIAL_FULLDUPLEX) || defined(__DOXYGEN__) -#define CH_USE_SERIAL_FULLDUPLEX TRUE -#endif - /** * If specified then the memory heap allocator APIs are included in the kernel. * @note The default is @p TRUE. diff --git a/os/io/platforms/Win32/serial_lld.c b/os/io/platforms/Win32/serial_lld.c index 05310bfe9..2539ebae9 100644 --- a/os/io/platforms/Win32/serial_lld.c +++ b/os/io/platforms/Win32/serial_lld.c @@ -30,11 +30,11 @@ #include #include -/** @brief USART0 serial driver identifier.*/ +/** @brief Serial driver 1 identifier.*/ #if USE_WIN32_SERIAL1 || defined(__DOXYGEN__) SerialDriver SD1; #endif -/** @brief USART1 serial driver identifier.*/ +/** @brief Serial driver 2 identifier.*/ #if USE_WIN32_SERIAL2 || defined(__DOXYGEN__) SerialDriver SD2; #endif diff --git a/os/io/platforms/Win32/serial_lld.h b/os/io/platforms/Win32/serial_lld.h index bcba7c685..07472754d 100644 --- a/os/io/platforms/Win32/serial_lld.h +++ b/os/io/platforms/Win32/serial_lld.h @@ -142,7 +142,6 @@ struct _serial_driver_data { * initializers. */ typedef struct { - uint16_t port; } SerialDriverConfig; /*===========================================================================*/