Skip to content

Commit

Permalink
fix sector iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh committed Aug 10, 2023
1 parent c92c6e1 commit a372f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyocd/flash/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ def _sector_erase_program_double_buffer(self, progress_cb=_stub_progress):
for sector in self.sector_list:
if sector.are_any_pages_not_same():
# Erase the sector
for addr in self.sector.addrs:
for addr in sector.addrs:
self.flash.erase_sector(addr)

# Update progress
Expand Down

0 comments on commit a372f8d

Please sign in to comment.