Try once at beginning of app
parent
fdbf4300ef
commit
39f62c1ab7
|
|
@ -20,6 +20,8 @@ bottom_btn = false;
|
||||||
msgNum = 0; // message number
|
msgNum = 0; // message number
|
||||||
|
|
||||||
NRF.setConnectionInterval(100)
|
NRF.setConnectionInterval(100)
|
||||||
|
Bangle.loadWidgets()
|
||||||
|
Bangle.drawWidgets()
|
||||||
/*
|
/*
|
||||||
CONFIGURATION AREA - STATE VARIABLES
|
CONFIGURATION AREA - STATE VARIABLES
|
||||||
declare global variables for the toggle button
|
declare global variables for the toggle button
|
||||||
|
|
@ -314,7 +316,6 @@ const setMyWatch = (params) => {
|
||||||
machine = machine.events({object: params.label, status: startEnd(params.bool)});
|
machine = machine.events({object: params.label, status: startEnd(params.bool)});
|
||||||
drawScreen(machine.screen);
|
drawScreen(machine.screen);
|
||||||
}, params.btn, {repeat:true, edge:"both"});
|
}, params.btn, {repeat:true, edge:"both"});
|
||||||
Bangle.drawWidgets();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* object array used to set up the watching functions
|
/* object array used to set up the watching functions
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue