...
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 */
}
: |