You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed all postResetDelay adjustment and retry code, regardless of platform, and applied active wait technique for postResetDelay to attempt to fix CrOS 67+ download failures. Bumped version to 0.9.6.
@@ -287,27 +282,22 @@ function talkToProp(sock, port, binImage, toEEPROM) {
287
282
288
283
functionsendMBL(){
289
284
returnnewPromise(function(resolve,reject){
290
-
291
-
functiontxmit(){
292
-
//Prep for expected packetID:transmissionId response (Micro-Boot-Loader's "Ready" signal)
293
-
propComm.mblEPacketId[0]=packetId;
294
-
propComm.mblETransId[0]=0;//MBL transmission's Id is always 0
295
-
//Send Micro Boot Loader package and get response; if wired port, unpause (may be auto-paused by incoming data error); wireless ports, carry on immediately
//Prep for expected packetID:transmissionId response (Micro-Boot-Loader's "Ready" signal)
291
+
propComm.mblEPacketId[0]=packetId;
292
+
propComm.mblETransId[0]=0;//MBL transmission's Id is always 0
293
+
//Send Micro Boot Loader package and get response; if wired port, unpause (may be auto-paused by incoming data error); wireless ports, carry on immediately
.catch(function(e){returnreject(e);})//Error! Reject with message
334
313
});
335
314
}
336
315
@@ -456,9 +435,6 @@ function talkToProp(sock, port, binImage, toEEPROM) {
456
435
//=((10 [bits per byte] * [max packet size]) / final baud rate) * 1,000 [to scale ms to integer] + 1 [to always round up] + 1500 or 250 [Network or Rx hardware to OS slack time]
0 commit comments