From 583d5847a01314c29f4142d1f1bf648846b0f24c Mon Sep 17 00:00:00 2001 From: dxl <64101226@qq.com> Date: Fri, 10 Feb 2023 11:16:27 +0800 Subject: [PATCH] Print more information. --- firmware/application/src/utils/fds_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/src/utils/fds_util.c b/firmware/application/src/utils/fds_util.c index 81d1cad..eebc7c6 100644 --- a/firmware/application/src/utils/fds_util.c +++ b/firmware/application/src/utils/fds_util.c @@ -46,7 +46,7 @@ bool fds_read_sync(uint16_t id, uint16_t key, uint16_t max_length, uint8_t* buff NRF_LOG_INFO("FDS read success."); return true; } else { - NRF_LOG_INFO("FDS buffer too small, can't run memcpy."); + NRF_LOG_INFO("FDS buffer too small, can't run memcpy, fds size = %d, buffer size = %d", flash_record.p_header->length_words * 4, max_length); } err_code = fds_record_close(&record_desc); // 操作完成后关闭文件 APP_ERROR_CHECK(err_code);