Fixed duplicated buffers in USARTv2 driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9762 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
73c7762558
commit
f676b7cb31
|
@ -477,10 +477,6 @@ typedef struct {
|
||||||
/* Output queue.*/ \
|
/* Output queue.*/ \
|
||||||
output_queue_t oqueue; \
|
output_queue_t oqueue; \
|
||||||
/* End of the mandatory fields.*/ \
|
/* End of the mandatory fields.*/ \
|
||||||
/* Input circular buffer.*/ \
|
|
||||||
uint8_t ib[SERIAL_BUFFERS_SIZE]; \
|
|
||||||
/* Output circular buffer.*/ \
|
|
||||||
uint8_t ob[SERIAL_BUFFERS_SIZE]; \
|
|
||||||
/* Pointer to the USART registers block.*/ \
|
/* Pointer to the USART registers block.*/ \
|
||||||
USART_TypeDef *usart; \
|
USART_TypeDef *usart; \
|
||||||
/* Clock frequency for the associated USART/UART.*/ \
|
/* Clock frequency for the associated USART/UART.*/ \
|
||||||
|
|
|
@ -389,7 +389,7 @@ OSAL_IRQ_HANDLER(STM32_USART2_HANDLER) {
|
||||||
STM32_SERIAL_USE_UART5 || STM32_SERIAL_USE_USART6 || \
|
STM32_SERIAL_USE_UART5 || STM32_SERIAL_USE_USART6 || \
|
||||||
STM32_SERIAL_USE_UART7 || STM32_SERIAL_USE_UART8 || defined(__DOXYGEN__)
|
STM32_SERIAL_USE_UART7 || STM32_SERIAL_USE_UART8 || defined(__DOXYGEN__)
|
||||||
/**
|
/**
|
||||||
* @brief USART2 interrupt handler.
|
* @brief USART3-8 shared interrupt handler.
|
||||||
*
|
*
|
||||||
* @isr
|
* @isr
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue