projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sam3 pmc: add functions to handle peripheral clock enable/disable;
[bertos.git]
/
bertos
/
mware
/
event.c
diff --git
a/bertos/mware/event.c
b/bertos/mware/event.c
index 567e18a9a42ceaed9b907ec3ed7853bddbfa684d..489014dbc1f73ff76e3a6e637bcccc2f1cfdb48c 100644
(file)
--- a/
bertos/mware/event.c
+++ b/
bertos/mware/event.c
@@
-50,6
+50,13
@@
void event_hook_signal(Event *e)
{
sig_post((e)->Ev.Sig.sig_proc, (e)->Ev.Sig.sig_bit);
}
{
sig_post((e)->Ev.Sig.sig_proc, (e)->Ev.Sig.sig_bit);
}
+
+void event_hook_generic_signal(Event *e)
+{
+ sig_postSignal(&e->Ev.SigGen.sig,
+ e->Ev.SigGen.sig_proc,
+ EVENT_GENERIC_SIGNAL);
+}
#endif
void event_hook_softint(Event *e)
#endif
void event_hook_softint(Event *e)