FireBirdLib - Topfield TMS PVR TAP Programming Library
FlashFavoritesGetInfoCurrent.c
Go to the documentation of this file.
1
#include <string.h>
2
#include "
libFireBird.h
"
3
4
bool
FlashFavoritesGetInfoCurrent
(
tFavorites
*Favorites)
5
{
6
TRACEENTER
();
7
8
byte
*EEPROM;
//Size = 128
9
byte
NrGrps, CurrentGroup;
10
bool
ret;
11
12
NrGrps =
FlashFavoritesGetTotal
();
13
EEPROM = (
byte
*)
FIS_vEEPROM
();
14
CurrentGroup = EEPROM[0x0012];
15
16
ret = FALSE;
17
if
((NrGrps != 0) && Favorites && (CurrentGroup != 0xFF)) ret =
FlashFavoritesGetInfo
(CurrentGroup, Favorites);
18
19
TRACEEXIT
();
20
return
ret;
21
}
FIS_vEEPROM
dword FIS_vEEPROM(void)
Definition:
FIS_vEEPROM.c:3
FlashFavoritesGetInfoCurrent
bool FlashFavoritesGetInfoCurrent(tFavorites *Favorites)
Definition:
FlashFavoritesGetInfoCurrent.c:4
FlashFavoritesGetInfo
bool FlashFavoritesGetInfo(int FavNum, tFavorites *Favorites)
Definition:
FlashFavoritesGetInfo.c:4
FlashFavoritesGetTotal
int FlashFavoritesGetTotal(void)
Definition:
FlashFavoritesGetTotal.c:3
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tFavorites
Definition:
libFireBird.h:1732
flash
FlashFavoritesGetInfoCurrent.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3