SOEM
osal
vxworks
vxworks/osal_defs.h
Go to the documentation of this file.
1
/*
2
* Licensed under the GNU General Public License version 2 with exceptions. See
3
* LICENSE file in the project root for full license information
4
*/
5
6
#ifndef _osal_defs_
7
#define _osal_defs_
8
9
// define if debug printf is needed
10
//#define EC_DEBUG
11
12
#ifdef EC_DEBUG
13
#define EC_PRINT printf
14
#else
15
#define EC_PRINT(...) do {} while (0)
16
#endif
17
18
#ifndef PACKED
19
#define PACKED_BEGIN
20
#define PACKED __attribute__((__packed__))
21
#define PACKED_END
22
#endif
23
24
#define OSAL_THREAD_HANDLE TASK_ID
25
#define OSAL_THREAD_FUNC void
26
#define OSAL_THREAD_FUNC_RT void
27
28
#endif
soem
Author(s): Arthur Ketels and M.J.G. van den Molengraft
autogenerated on Wed Mar 2 2022 01:01:49