From 2c8058e6575f4e0238a98140d8ddcb5afb11f44c Mon Sep 17 00:00:00 2001
From: ethan <tzj0429@163.com>
Date: Tue, 13 Sep 2022 20:23:06 +0800
Subject: [PATCH] 上传cantp的库

---
 Application/include/nvm.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Application/include/nvm.h b/Application/include/nvm.h
index 31a64f3..8015021 100644
--- a/Application/include/nvm.h
+++ b/Application/include/nvm.h
@@ -57,7 +57,7 @@
     NVM_OPERATION_COMPLETE_CALLBACK pfn_complete_cbk; /**< pointer to callback function which executes after the operation completes (success or fail) */
 } MEM_OPERATION_Ts;
 
-#define RAM_FALSH_DRIVE_LENGHT (96u)
+#define RAM_FALSH_DRIVE_LENGHT (10u)
 extern uint8_t flashCode[RAM_FALSH_DRIVE_LENGHT + 4];
 extern NVM_FLAGS_Ts Nvm_Flags;
 extern uint8_t Mem_PartionTempBuff[MEM_MAX_TEMP_BUFF_NUM][FBL_MEM_SEGMENT_SIZE];
@@ -67,6 +67,6 @@
 extern int8_t NVM_ReInitFlashDriveRam(void);
 extern void NVM_Init(void);
 extern bool NVM_Is_Busy(void);
-extern uint8_t MEM_PartitionCRCOK(uint8_t partionid);
+extern uint8_t MEM_PartitionCRCOK(uint8_t partionid, uint32_t targetcrc);
 extern uint8_t ApplFblIsValidApp();
 #endif

--
Gitblit v1.8.0