File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments