From 333e7291445a5a434c8e81c03d139460b95c0876 Mon Sep 17 00:00:00 2001 From: Takuya Sasaki Date: Sun, 24 Nov 2024 14:00:26 +0900 Subject: [PATCH] lib/csp: Remove unnecessary FRAM read After saving the CRC calculation result of the Config Memory to FRAM, read it back. However, this was for debugging purposes, so remove it. Signed-off-by: Takuya Sasaki --- lib/csp/flash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/csp/flash.c b/lib/csp/flash.c index bf480bf..a56749d 100644 --- a/lib/csp/flash.c +++ b/lib/csp/flash.c @@ -170,7 +170,6 @@ static int csp_flash_calc_crc_cmd(uint8_t command_id, csp_packet_t *packet) crc_info.size = size; crc_info.crc32 = crc32; (void)sc_fram_update_crc_for_cfgmem(crc_info); - (void)sc_fram_get_crc_for_cfgmem(&crc_info); } end: