From 5c9c7962c882e851fc7e77c97829fb6f19fda5bf Mon Sep 17 00:00:00 2001 From: Kidenygood <2979564623@qq.com> Date: Mon, 17 Apr 2023 16:22:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=90=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/robot.c | 4 ++-- modules/referee/rm_referee.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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请求过快会导致数据发送丢失,考虑数据尽可能打成一个整包以及队列发送,并且发送函数添加缓冲区 */ }