resume flash 驱动时降低flash驱动速度为 SPEED_MID,减少资源读取错误 255/1 255/head 256/target/1
authorSnickerSun <snickersun@163.com>
Tue, 11 Jun 2024 06:46:45 +0000 (14:46 +0800)
committerSnickerSun <snickersun@163.com>
Tue, 11 Jun 2024 06:46:45 +0000 (14:46 +0800)
code/sdk/drivers/drivers/driver/nand_flash/nand/nandflash_config.c

index 7b83500..647d559 100755 (executable)
@@ -123,7 +123,7 @@ static int formate_filesystem_init(uint32_t total_block_num)
     return 0;
 }
 
-/* ʹÓÃÔ¼Êø£ºÖжϺÍÒì³£ÖУ¬½ûÖ¹sync²Ù×÷ */
+/* ʹ��Լ�����жϺ��쳣�У���ֹsync���� */
 void nandflash_yaffs_sync(void)
 {
     if (osal_in_interrupt() != true && get_exception_status() != true) {
@@ -261,5 +261,5 @@ int mount_user_res_partition(void)
 }
 void nandflash_qspi_resume(void)
 {
-    nand_driver_init(SPEED_HIGH);
+    nand_driver_init(SPEED_MID);
 }