X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/a1c3b5da7f0dc6f20ef73e49bc3a45ceef163a83..e57036686413b5ea5f943ea1c2321976e73e2cb7:/rtems/gw/cangw/app_def.h diff --git a/rtems/gw/cangw/app_def.h b/rtems/gw/cangw/app_def.h deleted file mode 100644 index 79a8a28..0000000 --- a/rtems/gw/cangw/app_def.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef _APP_DEF_H -#define _APP_DEF_H - -#ifndef COND_EXTERN - #ifdef CONFIGURE_INIT - #define COND_EXTERN - #else - #define COND_EXTERN extern - #endif -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -void bad_rtems_status(rtems_status_code status, int fail_level, const char *text); - -static inline -void check_rtems_status(rtems_status_code status, int fail_level, const char *text) -{ - if(!rtems_is_status_successful(status)) - bad_rtems_status(status, fail_level, text); -} - -#define SHELL_TASK_PRIORITY 50 - -#ifdef __cplusplus -} -#endif - -#endif /*_APP_DEF_H*/