diff --git a/application/robot.c b/application/robot.c index e91cd81..68de21f 100644 --- a/application/robot.c +++ b/application/robot.c @@ -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 // 初始化完成,开启中断 diff --git a/modules/referee/rm_referee.c b/modules/referee/rm_referee.c index a91206e..e494d4e 100644 --- a/modules/referee/rm_referee.c +++ b/modules/referee/rm_referee.c @@ -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请求过快会导致数据发送丢失,考虑数据尽可能打成一个整包以及队列发送,并且发送函数添加缓冲区 */ }