Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: EasyCAT_LAB_simple EasyCAT_LAB_very_simple EasyCAT_LAB
osal_defs.h
00001 /* 00002 * Licensed under the GNU General Public License version 2 with exceptions. See 00003 * LICENSE file in the project root for full license information 00004 */ 00005 00006 #ifndef _osal_defs_ 00007 #define _osal_defs_ 00008 00009 00010 00011 #ifdef __cplusplus 00012 extern "C" 00013 { 00014 #endif 00015 00016 00017 // define if debug printf is needed 00018 //#define EC_DEBUG 00019 00020 #ifdef EC_DEBUG 00021 #define EC_PRINT printf 00022 #else 00023 #define EC_PRINT(...) do {} while (0) 00024 #endif 00025 00026 //#ifndef PACKED 00027 #define PACKED_BEGIN 00028 #define PACKED __attribute__((__packed__)) 00029 #define PACKED_END 00030 //#endif 00031 00032 00033 #ifdef __cplusplus 00034 } 00035 #endif 00036 00037 #endif
Generated on Tue Jul 12 2022 18:21:13 by
