refator(mpc): reset link layer log after reconfiguring
This commit is contained in:
+2
-1
@@ -255,7 +255,8 @@ static int32_t Mpc_SystemConfig(MPC *instPtr, uint8_t *msg)
|
||||
WD_SPEED_CMD, msg[WD_SPEED_CMD]);
|
||||
return EIGNORE;
|
||||
}
|
||||
|
||||
//NOTE: Clear previous log.
|
||||
memset(&(linkInstPtr->log), 0x00, sizeof(L2_LOG));
|
||||
if (msg[WD_EN_CMD] == EN_CMD_ON_HIGH_POWER)
|
||||
{
|
||||
// high power config
|
||||
|
||||
Reference in New Issue
Block a user