Added Parse_KEvent_ID() (#14)
This is a convenience function for console commands. Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #14
This commit is contained in:
parent
daa1a2a1ec
commit
5aeffbcbc9
3 changed files with 38 additions and 4 deletions
|
|
@ -24,8 +24,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef EVENTS_H
|
||||
#define EVENTS_H
|
||||
#ifndef KEVENTS_H
|
||||
#define KEVENTS_H
|
||||
|
||||
//! Event identifiers used by the SystemK.
|
||||
typedef enum
|
||||
|
|
@ -103,5 +103,6 @@ void Init_KEvents(void);
|
|||
void Post_KEvent(KEvent_T *event);
|
||||
void Post_KEvent_From_ISR(KEvent_T *event, portBASE_TYPE *xHigherPriorityTaskWoken);
|
||||
portBASE_TYPE Receive_KEvent(KEvent_T *event);
|
||||
SystemKResult_T Parse_KEvent_ID(const char *str, KEvent_T *event);
|
||||
|
||||
#endif // EVENTS_H
|
||||
#endif // KEVENTS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue