Files
linear-Slide/Common/Com_debug.c

17 lines
226 B
C

#include "Com_debug.h"
/**
* @brief 日志输出初始化
*
*/
void Com_debug_init(void)
{
// MX_USART1_UART_Init();
}
int fputc(int ch, FILE *f)
{
HAL_UART_Transmit(&huart5, (uint8_t *)&ch, 1, 0xFFFF);
return ch;
}