FireBirdLib - Topfield TMS PVR TAP Programming Library
FirmwareDatMJD.c
Go to the documentation of this file.
1
#include "
FBLib_main.h
"
2
3
dword
FirmwareDatMJD
(
void
)
4
{
5
TRACEENTER
();
6
7
tFWDATHeader
*FWDatHeader;
8
dword d;
9
10
if
(
LoadFirmwareDat
(&FWDatHeader, NULL, NULL))
11
{
12
d = FWDatHeader->
CompileDate
;
13
14
TRACEEXIT
();
15
return
TAP_MakeMjd(d >>16, (d >> 8) & 0xff, d & 0xff);
16
}
17
18
TRACEEXIT
();
19
return
0;
20
}
FBLib_main.h
FirmwareDatMJD
dword FirmwareDatMJD(void)
Definition:
FirmwareDatMJD.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
LoadFirmwareDat
bool LoadFirmwareDat(tFWDATHeader **FWDatHeader, tToppyInfo **ToppyInfo, tFWInfo **FWInfo)
Definition:
LoadFirmwareDat.c:7
tFWDATHeader
Definition:
libFireBird.h:106
tFWDATHeader::CompileDate
dword CompileDate
Definition:
libFireBird.h:108
main
FirmwareDatMJD.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3