Make it possible to set EC_VER from osal layer
This commit is contained in:
parent
c892921d7e
commit
7b1ea32343
@ -23,12 +23,15 @@ extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
/** define EC_VER1 if version 1 default context and functions are needed
|
||||
* comment if application uses only ecx_ functions and own context */
|
||||
#define EC_VER1
|
||||
|
||||
#include "osal.h"
|
||||
|
||||
/** define EC_VER1 if version 1 default context and functions are needed
|
||||
* define EC_VER2 if application uses only ecx_ functions and own context */
|
||||
#if !defined(EC_VER1) && !defined(EC_VER2)
|
||||
# define EC_VER1
|
||||
#endif
|
||||
|
||||
|
||||
/** Define little endian target by default if no endian is set */
|
||||
#if !defined(EC_LITTLE_ENDIAN) && !defined(EC_BIG_ENDIAN)
|
||||
# define EC_LITTLE_ENDIAN
|
||||
|
Loading…
x
Reference in New Issue
Block a user