合并后
This commit is contained in:
parent
6f54bc201b
commit
5c9c7962c8
|
@ -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
|
||||
|
||||
// 初始化完成,开启中断
|
||||
|
|
|
@ -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请求过快会导致数据发送丢失,考虑数据尽可能打成一个整包以及队列发送,并且发送函数添加缓冲区 */
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue