Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Commit dde5bac

Browse files
Fix RTOS Event Filter initialization for Kernel events (#1561)
1 parent 5126318 commit dde5bac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMSIS/RTOS2/RTX/Source/rtx_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ __STATIC_INLINE void evr_initialize (void) {
368368
#endif
369369
#if ((OS_EVR_KERNEL_LEVEL & 0x80U) != 0U)
370370
(void)EventRecorderEnable( OS_EVR_KERNEL_LEVEL & 0x0FU, EvtRtxKernelNo, EvtRtxKernelNo);
371-
(void)EventRecorderDisable(~OS_EVR_KERNEL_LEVEL & 0x0FU, EvtRtxKernelNo, EvtRtxMemoryNo);
371+
(void)EventRecorderDisable(~OS_EVR_KERNEL_LEVEL & 0x0FU, EvtRtxKernelNo, EvtRtxKernelNo);
372372
#endif
373373
#if ((OS_EVR_THREAD_LEVEL & 0x80U) != 0U)
374374
(void)EventRecorderEnable( OS_EVR_THREAD_LEVEL & 0x0FU, EvtRtxThreadNo, EvtRtxThreadNo);

0 commit comments

Comments
 (0)