Removed debug function since we now have printf.

This commit is contained in:
Dual Tachyon 2023-09-07 13:04:03 +01:00
parent c79c672313
commit b82bc3aa5d
2 changed files with 0 additions and 11 deletions

View File

@ -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) {
}
}
}

View File

@ -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