| | 1 | = GetMnBdVer = |
| | 2 | Gets the main board version |
| | 3 | |
| | 4 | {{{ |
| | 5 | int GetMnBdVer(); |
| | 6 | }}} |
| | 7 | |
| | 8 | == Parameters == |
| | 9 | |
| | 10 | Function does not accept any parameters. |
| | 11 | |
| | 12 | == Return Value == |
| | 13 | |
| | 14 | Returns numeric representation of the version multipled times 100, so version 1.16 is returned as 116. |
| | 15 | |
| | 16 | == Remarks == |
| | 17 | |
| | 18 | MnBdStartup must be called before this will return a valid result. |
| | 19 | |
| | 20 | == Example == |
| | 21 | |
| | 22 | {{{ |
| | 23 | int n = GetMnBdVer(); |
| | 24 | if(n < 116) |
| | 25 | { |
| | 26 | DisplayText(0, 0, "Main board update recommended"); |
| | 27 | } |
| | 28 | }}} |
| | 29 | |
| | 30 | == See Also == |
| | 31 | |