summaryrefslogtreecommitdiff
path: root/project/Core/Inc/Devices
diff options
context:
space:
mode:
Diffstat (limited to 'project/Core/Inc/Devices')
-rw-r--r--project/Core/Inc/Devices/UART.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/project/Core/Inc/Devices/UART.h b/project/Core/Inc/Devices/UART.h
index e9c0f33..03476f6 100644
--- a/project/Core/Inc/Devices/UART.h
+++ b/project/Core/Inc/Devices/UART.h
@@ -11,7 +11,8 @@ void USART1_IRQHandler(void);
void USART2_IRQHandler(void);
void USART_Init(USART_TypeDef * USARTx);
void USART_Write(USART_TypeDef * USARTx, uint8_t *buffer, uint32_t nBytes);
-uint8_t USART_Read(USART_TypeDef * USARTx);
+uint8_t USART_Read(USART_TypeDef * USARTx);
+uint8_t USART_Read_Nonblocking (USART_TypeDef * USARTx);
void USART_Delay(uint32_t us);
void USART_IRQHandler(USART_TypeDef * USARTx, uint8_t *buffer, uint32_t * pRx_counter);