COVerMajor
Description
This function returns the major version number value. The version number is encoded in the following way:
...
The following example uses the major version of the CANopen stack to implement an application, which is independent from specific features of version.
Code Block | ||
---|---|---|
| ||
:
if (<code>COVerMajor()</code> < 3) {
/* do some compatibility stuff */
}
: |