Update app.js

pull/668/head
nujw 2021-02-05 14:46:26 +13:00 committed by GitHub
parent acaf6d32b7
commit f4815c5ff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ function setLpMode(m) {
var s = WIDGETS.gpsservice.gps_get_settings();
if ( m <> s.power_mode ) {
s.gpsservice = true;
s.power_mode = (on)?'PSMOO':'SuperE';
s.power_mode = m;
WIDGETS.gpsservice.gps_set_settings(s);
WIDGETS.gpsservice.reload();
}