projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'branch-1.9' into debian
[fw/altos]
/
ao-tools
/
lib
/
cc-convert.c
diff --git
a/ao-tools/lib/cc-convert.c
b/ao-tools/lib/cc-convert.c
index 0f7fa809ecd77864be20d5b866529f7c1c082308..4a7e52fc8d3fa55ec1ebb14e38f3e28ac04909a5 100644
(file)
--- a/
ao-tools/lib/cc-convert.c
+++ b/
ao-tools/lib/cc-convert.c
@@
-213,9
+213,6
@@
cc_pressure_to_altitude(double pressure)
* 2.82V * 2047 / 3.3 counts/V = 1749 counts/115 kPa
*/
-static const double counts_per_kPa = 27 * 2047 / 3300;
-static const double counts_at_101_3kPa = 1674.0;
-
double
cc_barometer_to_pressure(double count)
{