forked from FOSS/BangleApps
bootloader: Stop LCD timeout being disabled on first run (when there is no settings.json)
parent
aedd35e7d4
commit
d0082775c5
|
@ -4,7 +4,7 @@
|
||||||
"tags": "tool,system",
|
"tags": "tool,system",
|
||||||
"type":"bootloader",
|
"type":"bootloader",
|
||||||
"icon": "bootloader.png",
|
"icon": "bootloader.png",
|
||||||
"version":"0.21",
|
"version":"0.22",
|
||||||
"description": "This is needed by Bangle.js to automatically load the clock, menu, widgets and settings",
|
"description": "This is needed by Bangle.js to automatically load the clock, menu, widgets and settings",
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":".boot0","url":"boot0.js"},
|
{"name":".boot0","url":"boot0.js"},
|
||||||
|
|
|
@ -20,3 +20,4 @@
|
||||||
0.19: Tweaks to simplify code and lower memory usage
|
0.19: Tweaks to simplify code and lower memory usage
|
||||||
0.20: Allow Gadgetbridge to work even with programmable:off
|
0.20: Allow Gadgetbridge to work even with programmable:off
|
||||||
0.21: Handle echo off char from Gadgetbridge app when programmable:off (fix #558)
|
0.21: Handle echo off char from Gadgetbridge app when programmable:off (fix #558)
|
||||||
|
0.22: Stop LCD timeout being disabled on first run (when there is no settings.json)
|
||||||
|
|
|
@ -50,7 +50,7 @@ if (!Bangle.F_BEEPSET) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Bangle.setLCDTimeout(s.timeout);
|
if (s.timeout!==undefined) Bangle.setLCDTimeout(s.timeout);
|
||||||
if (!s.timeout) Bangle.setLCDPower(1);
|
if (!s.timeout) Bangle.setLCDPower(1);
|
||||||
E.setTimeZone(s.timezone);
|
E.setTimeZone(s.timezone);
|
||||||
delete s;
|
delete s;
|
||||||
|
|
Loading…
Reference in New Issue