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:
parent
2411416ba5
commit
8a945c6086
|
@ -83,7 +83,7 @@ static const SerialConfig default_config =
|
||||||
{
|
{
|
||||||
SERIAL_DEFAULT_BITRATE,
|
SERIAL_DEFAULT_BITRATE,
|
||||||
0,
|
0,
|
||||||
USART_CR2_STOP1_BITS | USART_CR2_LINEN,
|
USART_CR2_STOP1_BITS,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@ static const SerialConfig default_config =
|
||||||
{
|
{
|
||||||
SERIAL_DEFAULT_BITRATE,
|
SERIAL_DEFAULT_BITRATE,
|
||||||
0,
|
0,
|
||||||
USART_CR2_STOP1_BITS | USART_CR2_LINEN,
|
USART_CR2_STOP1_BITS,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -349,7 +349,6 @@ typedef struct {
|
||||||
#define USART_CR2_STOP0P5_BITS (1 << 12) /**< @brief CR2 0.5 stop bit value.*/
|
#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_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_STOP1P5_BITS (3 << 12) /**< @brief CR2 1.5 stop bit value.*/
|
||||||
#define USART_CR2_LINEN (1 << 14) /**< @brief CR2 line enable.*/
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* External declarations. */
|
/* External declarations. */
|
||||||
|
|
Loading…
Reference in New Issue