删除串口发送数据结尾的\r\n,改为main函数的设置关闭stdout缓冲。printf直接输出

This commit is contained in:
2024-12-24 11:16:28 +08:00
parent 4dc9054544
commit 05fb90c727
4 changed files with 21 additions and 16 deletions

View File

@@ -25,6 +25,7 @@ uint32_t g_eddy_current_value_uint32;
\retval none
*/
int main(void) {
setbuf(stdout, NULL);
/* configure systick */
systick_config();
/* configure USART */