录像过程中插拔sd卡卡死
This commit is contained in:
parent
0a6cae2911
commit
e936ee1e41
|
@ -48,14 +48,13 @@ void Strg_CB(UINT32 event, UINT32 param1, UINT32 param2);
|
||||||
|
|
||||||
void Strg_CB(UINT32 event, UINT32 param1, UINT32 param2)
|
void Strg_CB(UINT32 event, UINT32 param1, UINT32 param2)
|
||||||
{
|
{
|
||||||
printf("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n");
|
|
||||||
UINT32 status;
|
UINT32 status;
|
||||||
|
|
||||||
#if HUNTING_CAMERA_MCU == ENABLE
|
#if HUNTING_CAMERA_MCU == ENABLE
|
||||||
SF_MESSAGE_BUF_S stMessageBuf = {0};
|
SF_MESSAGE_BUF_S stMessageBuf = {0};
|
||||||
#endif
|
#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) {
|
switch (event) {
|
||||||
// part-1
|
// part-1
|
||||||
case SYSTEM_CB_CONFIG:
|
case SYSTEM_CB_CONFIG:
|
||||||
|
|
|
@ -918,7 +918,7 @@ static void UIFlowMovie_OnExeRecord(lv_obj_t* obj)
|
||||||
if (GxStrg_GetDeviceCtrl(0, CARD_READONLY)) { // card lock
|
if (GxStrg_GetDeviceCtrl(0, CARD_READONLY)) { // card lock
|
||||||
|
|
||||||
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_CARD_LOCKED, warn_msgbox_auto_close_ms);
|
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_CARD_LOCKED, warn_msgbox_auto_close_ms);
|
||||||
return;
|
//return;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user