1
0
Fork 0

android - Fix GPS power state targets for serial workaround

master
Martin Boonk 2023-01-14 01:00:26 +01:00
parent b58bf716b3
commit 75be0f45e1
1 changed files with 2 additions and 2 deletions

View File

@ -217,8 +217,8 @@
Bangle._PWR.GPS = orig;
}
};
NRF.on('connect', ()=>{handleConnection(1);});
NRF.on('disconnect', ()=>{handleConnection(0);});
NRF.on('connect', ()=>{handleConnection(0);});
NRF.on('disconnect', ()=>{handleConnection(1);});
// Work around Serial1 for GPS not working when connected to something
let wrap = function(f){