添加回放菜单默认选项

This commit is contained in:
xiehongyan 2024-01-03 20:31:50 +08:00
parent 5d8d04ba59
commit bd6fb63fd0

View File

@ -321,6 +321,7 @@ void Option_play_Selection_Key(lv_obj_t* obj, uint32_t key)
hidde_Selection_page(); hidde_Selection_page();
UINT32 uiFileSeq; UINT32 uiFileSeq;
PB_GetParam(PBPRMID_CURR_FILESEQ, &uiFileSeq); PB_GetParam(PBPRMID_CURR_FILESEQ, &uiFileSeq);
ProfileFocused = 0;
if (0 != uiFileSeq) if (0 != uiFileSeq)
{ {
stop_play(); stop_play();
@ -342,7 +343,7 @@ void Option_play_Selection_Key(lv_obj_t* obj, uint32_t key)
ProfileSelected = 1; ProfileSelected = 1;
ChangeHandle = ProfileSelected; ChangeHandle = ProfileSelected;
Ux_SendEvent(0, NVTEVT_SYSTEM_MODE, 1, PRIMARY_MODE_PLAYBACK); Ux_SendEvent(0, NVTEVT_SYSTEM_MODE, 1, PRIMARY_MODE_PLAYBACK);
} }
else if (0 == ProfileFocused && ProfileSelected == 1) else if (0 == ProfileFocused && ProfileSelected == 1)
{ {