Browse Source

这个日志有刷屏隐患,去掉

master
Lizongdi 2 days ago
parent
commit
b6bed4bf13
  1. 5
      project/paint_robot_new/paint_robot_new.c

5
project/paint_robot_new/paint_robot_new.c

@ -924,11 +924,6 @@ static void Custom_ModuleHandler(const Msg_t *pstMsg)
// 遥控器失联或者电机报错 // 遥控器失联或者电机报错
if (g_stMK32.IsOnline == 0 || g_stIV.Left_Motor_Err != 0 || g_stIV.Right_Motor_Err != 0) if (g_stMK32.IsOnline == 0 || g_stIV.Left_Motor_Err != 0 || g_stIV.Right_Motor_Err != 0)
{ {
if (g_stIV.Left_Motor_Err != 0 || g_stIV.Right_Motor_Err != 0)
{
log_a("Motor Error ! error code: left [%d] right [%d]", g_stIV.Left_Motor_Err, g_stIV.Right_Motor_Err);
}
MsgCenter_SendTo(MODULE_NAME_RBCORE, RBCORE_CMD_STOP_ALL, NULL, 0); MsgCenter_SendTo(MODULE_NAME_RBCORE, RBCORE_CMD_STOP_ALL, NULL, 0);
if (g_stMK32.IsOnline == 0) if (g_stMK32.IsOnline == 0)
{ {

Loading…
Cancel
Save