From 26928dc40e60b26b5cbe366ecf7380cfe2f9b985 Mon Sep 17 00:00:00 2001 From: Aric Radzin Date: Fri, 23 Aug 2024 00:01:50 +0300 Subject: [PATCH] Fix typo in documentation --- CMSIS/DoxyGen/RTOS2/src/cmsis_os2_Event.txt | 2 +- CMSIS/RTOS2/RTX/Template/Events.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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