Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/stlink-org/stlink into d…
Browse files Browse the repository at this point in the history
…evelop
  • Loading branch information
Nightwalker-87 committed Jun 3, 2021
2 parents 2e6c909 + 15bc572 commit e571908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,7 @@ int stlink_load_device_params(stlink_t *sl) {
// H7 devices with small flash has one bank
if (sl->chip_flags & CHIP_F_HAS_DUAL_BANK &&
sl->flash_type == STLINK_FLASH_TYPE_H7) {
if ((flash_size / sl->flash_pgsz) <= 1)
if ((sl->flash_size / sl->flash_pgsz) <= 1)
sl->chip_flags &= ~CHIP_F_HAS_DUAL_BANK;
}

Expand Down

0 comments on commit e571908

Please sign in to comment.