Version 3 (modified by 11 years ago) ( diff ) | ,
---|
GetMnBdVer
Gets the main board version
int GetMnBdVer(int *minorVer = NULL);
Parameters
minorVer - optional pointer to get minor version.
Return Value
Returns numeric representation of the version multipled times 100, so version 1.16 is returned as 116.
Remarks
MnBdStartup must be called before this will return a valid result.
Examples
int n = GetMnBdVer(); if(n < 120) { DisplayText(0, 0, "Main board update recommended"); }
int minorVer; int majorVer = GetMnBdVer(&minorVer); if(majorVer < 120 || (majorVer == 120 && minorVer < 3)) { DisplayText(0, 0, "Main board update recommended"); }
See Also
Note:
See TracWiki
for help on using the wiki.