forked from mirror/uv-k5-firmware
Removed debug function since we now have printf.
This commit is contained in:
parent
c79c672313
commit
b82bc3aa5d
@ -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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user