This commit is contained in:
Tester23 2025-09-13 21:48:33 +02:00
parent c6c8555344
commit 1c1fe14cc9
2 changed files with 15 additions and 3 deletions

View File

@ -4,8 +4,15 @@ void __attribute__((weak)) HAL_UART_SendByte(byte b)
{
}
int __attribute__((weak)) HAL_UART_Init(int baud, int parity, bool hwflowc)
{
return 0;
}
}
void __attribute__((weak)) HAL_UART_Flush()
{
}
void __attribute__((weak)) HAL_SetBaud(unsigned int baud)
{
}

View File

@ -17,5 +17,10 @@ int HAL_UART_Init(int baud, int parity, bool hwflowc)
{
return 1;
}
void HAL_UART_Flush(void)
{
}
void HAL_SetBaud(unsigned int baud)
{
}
#endif