diff --git a/RBcore/msg_center.c b/RBcore/msg_center.c index c5c16aa..9bd0efd 100644 --- a/RBcore/msg_center.c +++ b/RBcore/msg_center.c @@ -207,7 +207,7 @@ int MsgCenter_Send(const Msg_t *pstMsg) { // 发送信号量,通知有新消息 Rd_SemPost(&g_astModules[iDstIndex].stSem, __func__, NULL); - log_d("[%p] send success ID:%x to %d", __builtin_return_address(0), pstMsg->m_uiMsgID, pstMsg->m_uiDstModule); + log_v("[%p] send success ID:%x to %d", __builtin_return_address(0), pstMsg->m_uiMsgID, pstMsg->m_uiDstModule); return RD_SUCCESS; } diff --git a/library/common/include/elog_cfg.h b/library/common/include/elog_cfg.h index ee2e169..eb2006c 100644 --- a/library/common/include/elog_cfg.h +++ b/library/common/include/elog_cfg.h @@ -33,7 +33,7 @@ /* enable log output. */ #define ELOG_OUTPUT_ENABLE /* setting static output log level. range: from ELOG_LVL_ASSERT to ELOG_LVL_VERBOSE */ -#define ELOG_OUTPUT_LVL ELOG_LVL_VERBOSE +#define ELOG_OUTPUT_LVL ELOG_LVL_INFO /* enable assert check */ // #define ELOG_ASSERT_ENABLE /* buffer size for every line's log */ @@ -68,7 +68,7 @@ /* enable asynchronous output mode */ #define ELOG_ASYNC_OUTPUT_ENABLE /* the highest output level for async mode, other level will sync output */ -#define ELOG_ASYNC_OUTPUT_LVL ELOG_LVL_VERBOSE +#define ELOG_ASYNC_OUTPUT_LVL ELOG_LVL_INFO /* buffer size for asynchronous output mode */ #define ELOG_ASYNC_OUTPUT_BUF_SIZE (ELOG_LINE_BUF_SIZE * 10) /* each asynchronous output's log which must end with newline sign */ diff --git a/motor/msp_motor_leisai.c b/motor/msp_motor_leisai.c index a1da045..919f9d1 100644 --- a/motor/msp_motor_leisai.c +++ b/motor/msp_motor_leisai.c @@ -419,7 +419,6 @@ static int LeiSai_ParseResponse(Motor_Instance_t *pstMotor, const uint8_t *pucDa iRealVelocity[1] = MotorMgr_SpeedConvertex(pstMotor, iRealVelocity[0]); iRealVelocity[0] = pstMotor->m_stConfig.m_ucMotorID; MsgCenter_SendTo(MODULE_NAME_CUSTOM, CUSTOM_GET_SPEED, iRealVelocity, sizeof(iRealVelocity)); - log_d("iRealVelocity[1] = %d", iRealVelocity[1]); break; } default: diff --git a/project/paint_robot_new/paint_robot_new.c b/project/paint_robot_new/paint_robot_new.c index 02dda3f..aa88216 100644 --- a/project/paint_robot_new/paint_robot_new.c +++ b/project/paint_robot_new/paint_robot_new.c @@ -154,7 +154,6 @@ static void Custom_ModuleHandler(const Msg_t *pstMsg) if (1 == iCurrentSpeed[0]) { g_stIV.CurrentSpeed = iCurrentSpeed[1]; - log_d("speed = %d", g_stIV.CurrentSpeed); } } break;