Settings name tweak

pull/14/head
Gordon Williams 2019-11-10 11:46:05 +00:00
parent dae7fe3b0f
commit 8b86190a36
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,7 @@ function showMainMenu() {
updateSettings(); updateSettings();
} }
}, },
'Dev': { 'Programmable': {
value: settings.dev, value: settings.dev,
format: boolFormat, format: boolFormat,
onchange: () => { onchange: () => {
@ -163,6 +163,7 @@ function showResetMenu() {
function makeConnectable() { function makeConnectable() {
try { NRF.wake(); } catch(e) {} try { NRF.wake(); } catch(e) {}
Bluetooth.setConsole(1);
var name="Bangle.js "+NRF.getAddress().substr(-5).replace(":",""); var name="Bangle.js "+NRF.getAddress().substr(-5).replace(":","");
E.showPrompt(name+"\nStay Connectable?",{title:"Connectable"}).then(r=>{ E.showPrompt(name+"\nStay Connectable?",{title:"Connectable"}).then(r=>{
if (settings.ble!=r) { if (settings.ble!=r) {