diff --git a/CMSIS/DoxyGen/RTOS2/src/cmsis_os2_Event.txt b/CMSIS/DoxyGen/RTOS2/src/cmsis_os2_Event.txt index 686bd22cbe..e7c0ec1d58 100644 --- a/CMSIS/DoxyGen/RTOS2/src/cmsis_os2_Event.txt +++ b/CMSIS/DoxyGen/RTOS2/src/cmsis_os2_Event.txt @@ -301,7 +301,7 @@ The function \b osEventFlagsGetName returns the pointer to the name string of th \code #include "cmsis_os2.h" // CMSIS RTOS header file -osEventFlagsId_t evt_id; // event flasg id +osEventFlagsId_t evt_id; // event flags id void EvtFlagsGetName_example (void) { char *name; diff --git a/CMSIS/RTOS2/RTX/Template/Events.c b/CMSIS/RTOS2/RTX/Template/Events.c index 81333f6b56..9ad509fad8 100644 --- a/CMSIS/RTOS2/RTX/Template/Events.c +++ b/CMSIS/RTOS2/RTX/Template/Events.c @@ -6,7 +6,7 @@ #define FLAGS_MSK1 0x00000001U -osEventFlagsId_t evt_id; // event flasg id +osEventFlagsId_t evt_id; // event flags id osThreadId_t tid_Thread_EventSender; // thread id 1 osThreadId_t tid_Thread_EventReceiver; // thread id 2