Skip to content

Commit

Permalink
fix teardown links
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Dec 6, 2023
1 parent 7453bfc commit e887629
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions devices.json
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@
},
"command": "",
"image": "https://obrazki.elektroda.pl/5746502900_1690456997.jpg",
"wiki": "https://www.elektroda.pl/rtvforum/topic4001659.html"
"wiki": "https://www.elektroda.com/rtvforum/topic4001659.html"
},
{
"vendor": "LSC",
Expand Down Expand Up @@ -7819,7 +7819,7 @@
},
"command": "",
"image": "https://obrazki.elektroda.pl/8627783500_1690777324.png",
"wiki": "https://www.elektroda.pl/rtvforum/topic4001860.html"
"wiki": "https://www.elektroda.com/rtvforum/topic4001860.html"
},
{
"vendor": "Connect",
Expand Down
5 changes: 3 additions & 2 deletions vue/ota.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,10 @@
/* Check if the ArrayBuffer represents RBL file */
isRBL(arrayBuffer){
let view = new DataView(arrayBuffer);
if (view.byteLength < 3) return false;
if (view.byteLength < 30)return false;
console.log(view);
return view.getUint8(0) === 82 && view.getUint8(1) === 66 && view.getUint8(2) === 76;
return view.getUint8(0) === 82 && view.getUint8(1) === 66 && view.getUint8(2) === 76
&& view.getUint8(28) === 45 && view.getUint8(29) === 111;
},
/* Check if the ArrayBuffer contains magic number 0xa0ffff9f (tls_fwup_img_header_check) */
Expand Down

0 comments on commit e887629

Please sign in to comment.