Skip to content

Commit d5be92a

Browse files
committed
Fix define around EvrRtxKernelInitialized
Rename the define EVR_RTX_KERNEL_INITIALIZE_COMPLETED_DISABLE to EVR_RTX_KERNEL_INITIALIZED_DISABLE so it matches the rest of RTX.
1 parent 6f7964b commit d5be92a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rtos/TARGET_CORTEX/mbed_rtx_conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
#define EVR_RTX_MEMORY_BLOCK_ALLOC_DISABLE
9898
#define EVR_RTX_MEMORY_BLOCK_FREE_DISABLE
9999
#define EVR_RTX_KERNEL_INITIALIZE_DISABLE
100-
#define EVR_RTX_KERNEL_INITIALIZE_COMPLETED_DISABLE
100+
#define EVR_RTX_KERNEL_INITIALIZED_DISABLE
101101
#define EVR_RTX_KERNEL_GET_INFO_DISABLE
102102
#define EVR_RTX_KERNEL_INFO_RETRIEVED_DISABLE
103103
#define EVR_RTX_KERNEL_GET_STATE_DISABLE

rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_evr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ __WEAK void EvrRtxKernelInitialize (void) {
326326
}
327327
#endif
328328

329-
#if (!defined(EVR_RTX_DISABLE) && (OS_EVR_KERNEL != 0) && !defined(EVR_RTX_KERNEL_INITIALIZE_COMPLETED_DISABLE))
329+
#if (!defined(EVR_RTX_DISABLE) && (OS_EVR_KERNEL != 0) && !defined(EVR_RTX_KERNEL_INITIALIZED_DISABLE))
330330
__WEAK void EvrRtxKernelInitialized (void) {
331331
#if defined(RTE_Compiler_EventRecorder)
332332
(void)EventRecord2(EvtRtxKernelInitialized, 0U, 0U);

0 commit comments

Comments
 (0)