Skip to content

Commit e1d96fa

Browse files
Fix log
1 parent 20fc7d2 commit e1d96fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BK7231Flasher/RTLFlasher.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,8 +665,8 @@ public bool doWrite(int startSector, int numSectors, byte[] data, WriteMode mode
665665
logger.setProgress(0, size);
666666
addLog(Environment.NewLine + "Starting write!" + Environment.NewLine);
667667
addLog("Write parms: start 0x" +
668-
(startSector * BK7231Flasher.SECTOR_SIZE).ToString("X2")
669-
+ " (sector " + startSector + "), len 0x" +
668+
(startSector).ToString("X2")
669+
+ " (sector " + startSector / BK7231Flasher.SECTOR_SIZE + "), len 0x" +
670670
(size).ToString("X2")
671671
+ " (" + size / BK7231Flasher.SECTOR_SIZE + " sectors)"
672672
+ Environment.NewLine);

0 commit comments

Comments
 (0)