mirror of
https://github.com/silenty4ng/k5web
synced 2025-04-13 14:30:33 +00:00
update
This commit is contained in:
parent
c6f95f4725
commit
725b939278
1 changed files with 0 additions and 2 deletions
|
@ -93,8 +93,6 @@ const flashIt = async () => {
|
|||
await readPacket(_connect, 0x18, 1000);
|
||||
const rawVersion = unpackVersion(state.binaryFile);
|
||||
const _data = new Uint8Array([0x30, 0x5, rawVersion.length, 0x0, ...rawVersion]);
|
||||
await sendPacket(_connect, _data);
|
||||
await readPacket(_connect, 0x18)
|
||||
|
||||
if(state.protocol == 'Official'){
|
||||
await sendPacket(_connect, _data);
|
||||
|
|
Loading…
Add table
Reference in a new issue