diff options
author | Keith Packard <keithp@keithp.com> | 2019-01-03 11:41:49 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-01-03 12:09:58 -0800 |
commit | 6f729ff46b2f4531db68f0af85e7e9fe0f6d1969 (patch) | |
tree | d0a93a48bd3012decbb230f5aa17ecc6c793cad2 /ao-tools/lib/cc-convert.c | |
parent | f14c799ae7ff3be56c28f5694f04c03daff7708e (diff) |
ao-tools: Fix warnings in ao-tools
None of these appear likely to have caused actual problems.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/lib/cc-convert.c')
-rw-r--r-- | ao-tools/lib/cc-convert.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ao-tools/lib/cc-convert.c b/ao-tools/lib/cc-convert.c index 0f7fa809..4a7e52fc 100644 --- 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) { |