Skip to content

Commit e26f7ce

Browse files
committed
fix: flash clock div
1 parent fa56dab commit e26f7ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fw/drivers/flash/sf32lb52_int_flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ status_t flash_impl_init(bool coredump_mode) {
6262
spi_flash_handle.dual_mode = 1;
6363
spi_flash_handle.flash_mode = 0; // nor
6464
HAL_StatusTypeDef res = HAL_FLASH_Init(&spi_flash_handle, &flash_cfg, &spi_flash_dma_handle,
65-
&flash_dma, 1);
65+
&flash_dma, 5);
6666

6767
if (res != HAL_OK) {
6868
return E_ERROR;

0 commit comments

Comments
 (0)