合并后

This commit is contained in:
Kidenygood 2023-04-17 16:22:11 +08:00
parent 6f54bc201b
commit 5c9c7962c8
2 changed files with 2 additions and 3 deletions

View File

@ -39,11 +39,11 @@ void RobotInit()
#endif
#if defined(ONE_BOARD) || defined(CHASSIS_BOARD)
ChassisInit();
// ChassisInit();
#endif
#ifdef BALANCE_BAORD
BalanceInit();
// BalanceInit();
#endif // BALANCE_BA
// 初始化完成,开启中断

View File

@ -54,7 +54,6 @@ void RefereeSend()
{
USARTSend(referee_usart_instance, (uint8_t *)(&referee_tx_buffer.buffer), referee_tx_buffer.pos,USART_TRANSFER_DMA);
referee_tx_buffer.pos=0;
/* syhtodo DMA请求过快会导致数据发送丢失考虑数据尽可能打成一个整包以及队列发送并且发送函数添加缓冲区 */
}