mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-07 20:33:28 +00:00
update
This commit is contained in:
parent
26b4d9f8c9
commit
75296d3b84
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ const restoreRange = async (start: any = 0) => {
|
|||
await eeprom_init(appStore.connectPort);
|
||||
const input = document.createElement('input');
|
||||
input.type = 'file';
|
||||
input.accept = '.bin';
|
||||
input.onchange = async() => {
|
||||
const blob = new Blob([input.files[0]], {type: 'application/octet-stream' });
|
||||
const rawEEPROM = new Uint8Array(await blob.arrayBuffer());
|
||||
|
|
Loading…
Reference in a new issue