mirror of https://github.com/rusefi/openblt.git
Refs #1563. Improved STM32H7 flash driver to support more variants.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@981 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
69ed56536c
commit
2bf4bb9279
|
@ -707,7 +707,7 @@ static blt_bool FlashWriteBlock(tFlashBlockInfo *block)
|
|||
blt_addr prog_addr;
|
||||
blt_int8u volatile * prog_data;
|
||||
blt_int32u word_cnt;
|
||||
blt_int8u const word_size = 32U;
|
||||
blt_int8u const word_size = FLASH_NB_32BITWORD_IN_FLASHWORD * 4U;
|
||||
blt_int8u byte_idx;
|
||||
|
||||
/* check that the address is actually within flash */
|
||||
|
|
Loading…
Reference in New Issue