projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
cc528f1
)
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
author
Bdale Garbee
<bdale@gag.com>
Sat, 20 Oct 2018 07:18:12 +0000
(
01:18
-0600)
committer
Bdale Garbee
<bdale@gag.com>
Sat, 20 Oct 2018 07:18:12 +0000
(
01:18
-0600)
altoslib/AltosConvert.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosConvert.java
b/altoslib/AltosConvert.java
index d246018700bfd1d0746330f6724e27ab86f208c9..e1930430add0de07f49812808e053edfa5b0e38e 100644
(file)
--- a/
altoslib/AltosConvert.java
+++ b/
altoslib/AltosConvert.java
@@
-261,7
+261,7
@@
public class AltosConvert {
static double tele_gps_voltage(int sensor) {
double supply = 3.3;
- return sensor /
32767
.0 * supply * (5.6 + 10.0) / 10.0;
+ return sensor /
4095
.0 * supply * (5.6 + 10.0) / 10.0;
}
static double tele_bt_3_battery(int raw) {