bthrm - Reset powerdownRequested when start BTHRM

pull/2284/head
Martin Boonk 2022-11-16 17:32:20 +01:00
parent a484e0379c
commit f7aa8340f0
1 changed files with 1 additions and 0 deletions

View File

@ -526,6 +526,7 @@ exports.enable = () => {
isOn = Bangle._PWR.BTHRM.length;
// so now we know if we're really on
if (isOn) {
powerdownRequested = false;
switchFallback();
if (!Bangle.isBTHRMConnected()) initBt();
} else { // not on