From 20a242ffe65c5e839ab9444c5a164ba0863c8311 Mon Sep 17 00:00:00 2001 From: Tenkai Kariya Date: Sun, 22 Sep 2024 17:15:56 -0700 Subject: [PATCH] Update ux_api.h fixed ux_system_initialize pointer to proper function if UX_SYSTEM_ENABLE_ERROR_CHECKING is defined --- common/core/inc/ux_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/core/inc/ux_api.h b/common/core/inc/ux_api.h index 6689eb0..8b5ced1 100644 --- a/common/core/inc/ux_api.h +++ b/common/core/inc/ux_api.h @@ -2740,9 +2740,9 @@ typedef struct UX_HOST_CLASS_DPUMP_STRUCT /* Define USBX Services. */ #if defined(UX_SYSTEM_ENABLE_ERROR_CHECKING) -#define ux_system_initialize _ux_system_initialize -#else #define ux_system_initialize _uxe_system_initialize +#else +#define ux_system_initialize _ux_system_initialize #endif #define ux_system_uninitialize _ux_system_uninitialize