Skip to content

Commit 6ae5e7b

Browse files
dbg
1 parent 76968d6 commit 6ae5e7b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

kernel/src/services/FirmwareService.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,14 @@ export class FirmwareService {
241241
// throw new Error(`Failed to fetch firmware: ${result.status} ${result.statusText}`);
242242
// }
243243

244-
this.firmwareBlob = await result.blob();
245-
const uint8Array = new Uint8Array(await this.firmwareBlob.arrayBuffer());
246-
this.firmwareString = Array.from(uint8Array)
247-
.map(byte => String.fromCharCode(byte))
248-
.join('');
249-
250-
console.log('Downloaded SFE FIRMWARE. Firmware string size:', this.firmwareString.length);
251-
return this.firmwareString;
244+
// this.firmwareBlob = await result.blob();
245+
// const uint8Array = new Uint8Array(await this.firmwareBlob.arrayBuffer());
246+
// this.firmwareString = Array.from(uint8Array)
247+
// .map(byte => String.fromCharCode(byte))
248+
// .join('');
249+
250+
// console.log('Downloaded SFE FIRMWARE. Firmware string size:', this.firmwareString.length);
251+
// return this.firmwareString;
252252
}
253253

254254
}

0 commit comments

Comments
 (0)