"完成了433多数据同时接收的时候的冲突问题,解决了网络未连接会卡死整个程序的问题“

This commit is contained in:
2026-05-08 18:49:05 +08:00
parent 6c56fe8a60
commit 6e2b13dbb3
6 changed files with 71 additions and 43 deletions

View File

@ -64,6 +64,8 @@ typedef struct {
uint32_t tx_count;
uint32_t error_count;
bool initialized;
volatile bool csma_backoff_active;
volatile uint32_t csma_backoff_until;
} uart_port_context_t;
void MultiUART_Init(void);