Add error callback to recover from UART deadlock, use async UART

transmit
This commit is contained in:
2026-06-24 17:26:37 +02:00
parent b55bd9468f
commit e14a98eba4
3 changed files with 33 additions and 17 deletions
+2
View File
@@ -76,6 +76,8 @@ static void MX_CAN2_Init(void);
static void MX_SDIO_SD_Init(void);
static void MX_USART1_UART_Init(void);
void uart_printf(const char *fmt, ...);
/* USER CODE BEGIN PFP */
int _write(int file, char *ptr, int len)
{