10 int NrGroups, NrSvcsPerGroup;
11 int NrTVServices, NrRadioServices;
39 if(FavNum >= NrGroups)
46 TAP_Channel_GetTotalNum(&NrTVServices, &NrRadioServices);
47 for(i = 0; i < min(Favorites->
NrEntries, NrSvcsPerGroup); i++)
49 if(((Favorites->
SvcType[i] == SVC_TYPE_Tv) && (Favorites->
SvcNum[i] >= NrTVServices)) || ((Favorites->
SvcType[i] == SVC_TYPE_Radio) && (Favorites->
SvcNum[i] >= NrRadioServices)))
56 switch(NrSvcsPerGroup)
61 memcpy(Favs30100, Favorites,
sizeof(
tFavorites));
dword FIS_vFlashBlockFavoriteGroup(void)
void FlashFavoritesGetParameters(int *NrGroups, int *NrSvcsPerGroup)
int FlashFavoritesGetTotal(void)
bool FlashFavoritesSetInfo(int FavNum, tFavorites *Favorites)