录像过程中插拔sd卡卡死

This commit is contained in:
xiehongyan 2024-01-26 14:19:20 +08:00
parent 0a6cae2911
commit e936ee1e41
2 changed files with 2 additions and 3 deletions

View File

@ -48,14 +48,13 @@ void Strg_CB(UINT32 event, UINT32 param1, UINT32 param2);
void Strg_CB(UINT32 event, UINT32 param1, UINT32 param2)
{
printf("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n");
UINT32 status;
#if HUNTING_CAMERA_MCU == ENABLE
SF_MESSAGE_BUF_S stMessageBuf = {0};
#endif
printf("Strg_CB: strg_id = %d, status = %d\n", param1, param2);
printf("[%s:%d]Strg_CB:event = %d, strg_id = %d, status = %d\n", __FUNCTION__, __LINE__, event, param1, param2);
switch (event) {
// part-1
case SYSTEM_CB_CONFIG:

View File

@ -918,7 +918,7 @@ static void UIFlowMovie_OnExeRecord(lv_obj_t* obj)
if (GxStrg_GetDeviceCtrl(0, CARD_READONLY)) { // card lock
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_CARD_LOCKED, warn_msgbox_auto_close_ms);
return;
//return;
}