1
0
Fork 0

Update widalt.settings.js

master
xxDUxx 2022-08-03 08:08:07 +02:00 committed by GitHub
parent ca16b7e225
commit f264f8e043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -8,10 +8,7 @@
value: o.seaLevelPressure,
min: 100, max: 10000,
format: v=>(v+"hPa\nAlt: "+(44330 * (1.0 - Math.pow(p.pressure/v, 0.1903))).toFixed(0)+"m"),
onchange: v => {
o.seaLevelPressure = v;
Bangle.setOptions(o);
}
onchange: v => {Bangle.setOptions({seaLevelPressure:v});}
}
});
});