diff --git a/fsw/shared/src/cfe_psp_module.c b/fsw/shared/src/cfe_psp_module.c index adc18174..afc81f92 100644 --- a/fsw/shared/src/cfe_psp_module.c +++ b/fsw/shared/src/cfe_psp_module.c @@ -64,7 +64,7 @@ void CFE_PSP_ModuleInitList(CFE_StaticModuleLoadEntry_t *ListPtr) while (Entry->Name != NULL) { ApiPtr = (CFE_PSP_ModuleApi_t *)Entry->Api; - if ((uint32)ApiPtr->ModuleType == CFE_PSP_MODULE_TYPE_SIMPLE && ApiPtr->Init != NULL) + if ((uint32)ApiPtr->ModuleType != CFE_PSP_MODULE_TYPE_INVALID && ApiPtr->Init != NULL) { (*ApiPtr->Init)(CFE_PSP_MODULE_BASE | CFE_PSP_ModuleCount); } diff --git a/unit-test-coverage/modules/CMakeLists.txt b/unit-test-coverage/modules/CMakeLists.txt index b28d4a51..18fa230b 100644 --- a/unit-test-coverage/modules/CMakeLists.txt +++ b/unit-test-coverage/modules/CMakeLists.txt @@ -4,6 +4,9 @@ # ###################################################################### +message(STATUS "inside utcov psp modules") +return() + include_directories("${PSPCOVERAGE_SOURCE_DIR}/shared/inc") include_directories("${PSPCOVERAGE_SOURCE_DIR}/modules/inc") @@ -64,4 +67,3 @@ set(UT_PSPMODLIST foreach(UT_PSPMOD ${UT_PSPMODLIST}) add_subdirectory(${CFEPSP_SOURCE_DIR}/fsw/modules/${UT_PSPMOD} ${UT_PSPMOD}) endforeach() -