Update app.js

pull/668/head
nujw 2021-02-04 22:47:18 +13:00 committed by GitHub
parent acaa293abc
commit 6fd412a25c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -362,6 +362,9 @@ function setLpMode(on) {
var s = WIDGETS.gpsservice.gps_get_settings();
s.gpsservice = true;
s.power_mode = (on)?'PSMOO':'SuperE';
print(s.power_mode+' ['+s.update+']');
WIDGETS.gpsservice.gps_set_settings(s);
WIDGETS.gpsservice.reload();
}