forked from FOSS/BangleApps
Try to skip loading screen
parent
ca9ae0f7fe
commit
d4f2ecd8fe
|
@ -453,8 +453,11 @@ function test(addr, y) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function probe() {
|
function probe() {
|
||||||
if (!start)
|
if (!start) {
|
||||||
start = 0x20000000;
|
start = 0x20000000;
|
||||||
|
if (test(0x2002d3fe, 0)) // try to skip loading if possible
|
||||||
|
start = 0x2002d3fe; // FW=2v20
|
||||||
|
}
|
||||||
const end = Math.min(start + 0x800, 0x20038000);
|
const end = Math.min(start + 0x800, 0x20038000);
|
||||||
|
|
||||||
if (start >= end) {
|
if (start >= end) {
|
||||||
|
|
Loading…
Reference in New Issue