diff --git a/driver/uart.c b/driver/uart.c index 6368114..6de4fff 100644 --- a/driver/uart.c +++ b/driver/uart.c @@ -103,13 +103,3 @@ void UART_LogSend(const void *pBuffer, uint32_t Size) } } -// TODO: Not part of the original FW, but used for easier testing -void UART_Print(const char *pString) -{ - while (*pString) { - UART1->TDR = (uint8_t)*pString++; - while ((UART1->IF & UART_IF_TXFIFO_FULL_MASK) != UART_IF_TXFIFO_FULL_BITS_NOT_SET) { - } - } -} - diff --git a/driver/uart.h b/driver/uart.h index dc43d6f..256e094 100644 --- a/driver/uart.h +++ b/driver/uart.h @@ -25,7 +25,6 @@ extern uint8_t UART_DMA_Buffer[256]; void UART_Init(void); void UART_Send(const void *pBuffer, uint32_t Size); void UART_LogSend(const void *pBuffer, uint32_t Size); -void UART_Print(const char *pString); #endif