We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3d370d commit 2b97335Copy full SHA for 2b97335
src/ihex.ts
@@ -315,10 +315,11 @@ function blockEndRecord(padBytesLen: number): string {
315
case 0x0c:
316
// The most common padding, when a block has 10 full (0x10) Data records
317
return ':0C00000BFFFFFFFFFFFFFFFFFFFFFFFFF5';
318
- default:
+ default: {
319
// Input sanitation will be done in createRecord, no need to do it here too
320
const recordData = new Uint8Array(padBytesLen).fill(0xff);
321
return createRecord(0, RecordType.BlockEnd, recordData);
322
+ }
323
}
324
325
0 commit comments