forked from FOSS/BangleApps
android - Fix GPS power state targets for serial workaround
parent
b58bf716b3
commit
75be0f45e1
|
@ -217,8 +217,8 @@
|
||||||
Bangle._PWR.GPS = orig;
|
Bangle._PWR.GPS = orig;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
NRF.on('connect', ()=>{handleConnection(1);});
|
NRF.on('connect', ()=>{handleConnection(0);});
|
||||||
NRF.on('disconnect', ()=>{handleConnection(0);});
|
NRF.on('disconnect', ()=>{handleConnection(1);});
|
||||||
|
|
||||||
// Work around Serial1 for GPS not working when connected to something
|
// Work around Serial1 for GPS not working when connected to something
|
||||||
let wrap = function(f){
|
let wrap = function(f){
|
||||||
|
|
Loading…
Reference in New Issue