Skip to content

Commit e25415f

Browse files
committed
Update index.ts - reset partition table when reading again
1 parent 60c90c9 commit e25415f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/typescript/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ readFlashData.onclick = async () => {
293293
};
294294

295295
readPartitionButton.onclick = async () => {
296+
initializePartitionTable();
296297
const hexOffset = partitionOffsetInput.value;
297298
const offset = parseInt(hexOffset, 16);
298299
try {

0 commit comments

Comments
 (0)