Removed duplicated definition.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9442 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2016-05-07 07:42:05 +00:00
parent 2411416ba5
commit 8a945c6086
3 changed files with 2 additions and 3 deletions

View File

@ -83,7 +83,7 @@ static const SerialConfig default_config =
{
SERIAL_DEFAULT_BITRATE,
0,
USART_CR2_STOP1_BITS | USART_CR2_LINEN,
USART_CR2_STOP1_BITS,
0
};

View File

@ -112,7 +112,7 @@ static const SerialConfig default_config =
{
SERIAL_DEFAULT_BITRATE,
0,
USART_CR2_STOP1_BITS | USART_CR2_LINEN,
USART_CR2_STOP1_BITS,
0
};

View File

@ -349,7 +349,6 @@ typedef struct {
#define USART_CR2_STOP0P5_BITS (1 << 12) /**< @brief CR2 0.5 stop bit value.*/
#define USART_CR2_STOP2_BITS (2 << 12) /**< @brief CR2 2 stop bit value.*/
#define USART_CR2_STOP1P5_BITS (3 << 12) /**< @brief CR2 1.5 stop bit value.*/
#define USART_CR2_LINEN (1 << 14) /**< @brief CR2 line enable.*/
/*===========================================================================*/
/* External declarations. */