X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fmware%2Fevent.h;h=74a467937ae802b1cffdadf5eac0ce67ad2c93de;hb=1a9205e1665e2ad0de939dc1b2cd782a8a31edc4;hp=ab8afe039e0f05febe706ce95bf52d0bc99e7744;hpb=6a9e5728583129dd5e89bd1ab0d6cf468bf388a8;p=bertos.git diff --git a/bertos/mware/event.h b/bertos/mware/event.h index ab8afe03..74a46793 100644 --- a/bertos/mware/event.h +++ b/bertos/mware/event.h @@ -43,9 +43,10 @@ #define KERN_EVENT_H #include -#include "cfg/cfg_kern.h" +#include "cfg/cfg_proc.h" +#include "cfg/cfg_signal.h" -#if CONFIG_KERNEL +#if CONFIG_KERN #if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS #include #endif @@ -109,10 +110,6 @@ INLINE Event event_createSoftint(Hook func, void *user_data) return e; } -// OBSOLETE names -#define event_createSoftInt event_createSoftint -#define event_initSoftInt event_initSoftint - #if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS /** Initialize the event \a e with a signal (send signal \a s to process \a p) */