oops, remove debug code
This commit is contained in:
parent
c42da1014d
commit
913b6db91f
1 changed files with 0 additions and 1 deletions
|
@ -9,7 +9,6 @@
|
||||||
var update = func(){
|
var update = func(){
|
||||||
setprop("/instrumentation/altimeter/setting-hpa-formatted", int(getprop("/instrumentation/altimeter/setting-hpa")));
|
setprop("/instrumentation/altimeter/setting-hpa-formatted", int(getprop("/instrumentation/altimeter/setting-hpa")));
|
||||||
setprop("/instrumentation/altimeter/setting-inhg-formatted", int(getprop("/instrumentation/altimeter/setting-inhg")*100.0)/100.0);
|
setprop("/instrumentation/altimeter/setting-inhg-formatted", int(getprop("/instrumentation/altimeter/setting-inhg")*100.0)/100.0);
|
||||||
print('update');
|
|
||||||
}
|
}
|
||||||
var hpaListener = setlistener("/instrumentation/altimeter/setting-hpa", update);
|
var hpaListener = setlistener("/instrumentation/altimeter/setting-hpa", update);
|
||||||
var inhgListener = setlistener("/instrumentation/altimeter/setting-inhg", update);
|
var inhgListener = setlistener("/instrumentation/altimeter/setting-inhg", update);
|
||||||
|
|
Loading…
Add table
Reference in a new issue