1
0
Fork 0

oops, remove debug code

This commit is contained in:
Clément de l'Hamaide 2014-12-30 17:40:28 +01:00
parent c42da1014d
commit 913b6db91f

View file

@ -9,7 +9,6 @@
var update = func(){
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);
print('update');
}
var hpaListener = setlistener("/instrumentation/altimeter/setting-hpa", update);
var inhgListener = setlistener("/instrumentation/altimeter/setting-inhg", update);