mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
Merge branch 'master'
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# referee
|
||||
|
||||
当前模块组织较为混乱,后续统一为多机通信+裁判系统信息接收+UI绘制。UI绘制和多机通信的发送部分在referee任务中以一定的频率运行,信息的接收通过中断完成。
|
||||
@@ -52,7 +52,7 @@ void RefereeLoadToBuffer(uint8_t *send, uint16_t tx_len)
|
||||
*/
|
||||
void RefereeSend(uint8_t *send, uint16_t tx_len)
|
||||
{
|
||||
USARTSend(referee_usart_instance, send, tx_len);//syhtodo此函数需要重写
|
||||
USARTSend(referee_usart_instance, send, tx_len,USART_TRANSFER_IT);//syhtodo此函数需要重写
|
||||
/* syhtodo DMA请求过快会导致数据发送丢失,考虑数据尽可能打成一个整包以及队列发送,并且发送函数添加缓冲区 */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user