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/ao-send-telem/ao-send-telem.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/ao-send-telem/ao-send-telem.c')
-rw-r--r-- | ao-tools/ao-send-telem/ao-send-telem.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ao-tools/ao-send-telem/ao-send-telem.c b/ao-tools/ao-send-telem/ao-send-telem.c index a4fc85b7..4b8f3c4f 100644 --- a/ao-tools/ao-send-telem/ao-send-telem.c +++ b/ao-tools/ao-send-telem/ao-send-telem.c @@ -114,7 +114,6 @@ static const char *state_names[] = { static void send_telem(struct cc_usb *cc, union ao_telemetry_all *telem) { - int rssi = (int8_t) telem->generic.rssi / 2 - 74; int i; uint8_t *b; @@ -170,9 +169,7 @@ main (int argc, char **argv) char line[80]; int c, i, ret = 0; int freq = 434550; - char *s; FILE *file; - int serial; uint16_t last_tick; int started; int realtime = 0; @@ -239,7 +236,6 @@ main (int argc, char **argv) if (fake) { union ao_telemetry_all telem; - uint16_t tick; int i; memset(&telem, '\0', sizeof (telem)); |