X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao-tools%2Fao-send-telem%2Fao-send-telem.c;fp=ao-tools%2Fao-send-telem%2Fao-send-telem.c;h=4b8f3c4f2639c182a70d1a2f0b2b266cfe0c1e6b;hp=a4fc85b7300d8f15b4e6483dd26ca02c16f7e05a;hb=6f729ff46b2f4531db68f0af85e7e9fe0f6d1969;hpb=f14c799ae7ff3be56c28f5694f04c03daff7708e 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));