Skip to content

Commit

Permalink
Fix program
Browse files Browse the repository at this point in the history
  • Loading branch information
bkerler committed Jan 7, 2021
1 parent 9fe4310 commit 66f0e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/firehose.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def cmd_program(self, physical_partition_number, start_sector, filename, display
f"<program SECTOR_SIZE_IN_BYTES=\"{self.cfg.SECTOR_SIZE_IN_BYTES}\"" + \
f" num_partition_sectors=\"{maxsectors}\"" + \
f" physical_partition_number=\"{physical_partition_number}\"" + \
f" start_sector=\"{start_sector}\" "
f" start_sector=\"{cursector}\" "
if self.modules is not None:
data += self.modules.addprogram()
data += f"/>\n</data>"
Expand Down Expand Up @@ -352,7 +352,7 @@ def cmd_program_buffer(self, physical_partition_number, start_sector, wfdata, di
f"<program SECTOR_SIZE_IN_BYTES=\"{self.cfg.SECTOR_SIZE_IN_BYTES}\"" + \
f" num_partition_sectors=\"{maxsectors}\"" + \
f" physical_partition_number=\"{physical_partition_number}\"" + \
f" start_sector=\"{start_sector}\" "
f" start_sector=\"{cursector}\" "
if self.modules is not None:
data += self.modules.addprogram()
data += f"/>\n</data>"
Expand Down

0 comments on commit 66f0e46

Please sign in to comment.