Skip to content

Commit

Permalink
lib/csp: Remove unnecessary FRAM read
Browse files Browse the repository at this point in the history
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 <takuya.sasaki@spacecubics.com>
  • Loading branch information
sasataku committed Nov 24, 2024
1 parent 59f53f9 commit 333e729
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/csp/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 333e729

Please sign in to comment.