From f453cfb645516628a6d1fa36e2ca633e1da6d708 Mon Sep 17 00:00:00 2001
From: tao_z <tzj0429@163.com>
Date: Sun, 07 Aug 2022 22:27:57 +0800
Subject: [PATCH] 修改数据传输最小长度限制

---
 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