实现复位飞控进入isp模式,并擦除内存

This commit is contained in:
OPTOC
2025-10-14 10:23:37 +08:00
parent b59b115a3f
commit d96f0a1ee2
4 changed files with 78 additions and 3 deletions

View File

@@ -269,6 +269,17 @@ int resend_parse_data(resend_device_t *resend_device)
break;
case RESEND_CMD_OTA_END:
break;
case RESEND_CMD_FC_ISP_GET_PARAM:
//针对ISP的应答
resend_device->status.ack_flag = 0;
break;
case RESEND_CMD_FC_ISP_START:
resend_device->handle_flag = RESEND_CMD_FC_ISP_GET_PARAM;
break;
case RESEND_CMD_FC_ISP_DATA:
break;
case RESEND_CMD_FC_ISP_END:
break;
default:
break;
}