git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1144 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
ccd53468b8
commit
07be1f54be
|
@ -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.
|
||||
|
|
|
@ -30,11 +30,11 @@
|
|||
#include <ch.h>
|
||||
#include <serial.h>
|
||||
|
||||
/** @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
|
||||
|
|
|
@ -142,7 +142,6 @@ struct _serial_driver_data {
|
|||
* initializers.
|
||||
*/
|
||||
typedef struct {
|
||||
uint16_t port;
|
||||
} SerialDriverConfig;
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
Loading…
Reference in New Issue