]> rtime.felk.cvut.cz Git - arc.git/blobdiff - memory/NvM/Nvm_ServiceComponent.c
fixed error, ReadBlock was calling itself
[arc.git] / memory / NvM / Nvm_ServiceComponent.c
index 70a29531ab4b236da5441f7b5cdb133af3e62994..62c25cd97c6fbee703a6589e2984d16175f43e52 100644 (file)
@@ -42,7 +42,7 @@ Std_ReturnType NvMService_GetDataIndex(NvM_BlockIdType BlockId, UInt8* DataIndex
 }\r
 \r
 Std_ReturnType NvMService_ReadBlock(NvM_BlockIdType BlockId, const DstPtrType DstPtr) {\r
-       return NvMService_ReadBlock(BlockId, (uint8*)DstPtr), E_OK;\r
+       return NvM_ReadBlock(BlockId, (uint8*)DstPtr), E_OK;\r
 }\r
 \r
 Std_ReturnType NvMService_WriteBlock(NvM_BlockIdType BlockId, const DstPtrType SrcPtr) {\r