Std_ReturnType copyNvmMirror(const NvM_BlockIdType BlockId, uint8 *dstPtr, const uint8 *srcPtr, uint8 len)\r
{\r
\r
-#if (DEM_USE_NVM == STD_ON)\r
+#if (DEM_USE_NVM == STD_ON && DEM_UNIT_TEST == STD_OFF)\r
Std_ReturnType blockReadStatus = E_NOT_OK;\r
NvM_RequestResultType requestResult;\r
\r
*/\r
Std_ReturnType writeNvmMirror(const NvM_BlockIdType BlockId, uint8 *dstPtr, const uint8 *srcPtr, uint8 len)\r
{\r
-#if (DEM_USE_NVM == STD_ON)\r
+#if (DEM_USE_NVM == STD_ON && DEM_UNIT_TEST == STD_OFF)\r
Std_ReturnType blockWriteStatus = E_NOT_OK;\r
NvM_RequestResultType requestResult;\r
\r
\r
}\r
\r
-#define DEM_UNIT_TEST\r
-#ifdef DEM_UNIT_TEST\r
+#if (DEM_UNIT_TEST == STD_ON)\r
void getFFDataPreInit(FreezeFrameRecType **buf)\r
{\r
*buf = &preInitFreezeFrameBuffer[0];\r