|
if(KeyAction == KEY1_Long_Action)
{
Pro_M2WResetCmdStruct.Pro_HeadPart.SN = SN++;//序号加1
Pro_M2WResetCmdStruct.Sum = CheckSum((uint8_t *)&Pro_M2WResetCmdStruct, sizeof(Pro_M2WResetCmdStruct));//计算校验和
Pro_UART_SendBuf((uint8_t *)&Pro_M2WResetCmdStruct,sizeof(Pro_M2WResetCmdStruct), 0); //发送复位命令
}
看了这行代码,请教个问题,机智云固件程序是否做了自动重启的程序
|
|