X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ao-tools%2Fao-send-telem%2Fao-send-telem.c;h=4b8f3c4f2639c182a70d1a2f0b2b266cfe0c1e6b;hb=HEAD;hp=ef6f892c1387f4a00b7e4fe75da2dbf220bbadb4;hpb=c17dff05b70d98e3193e8e68cc9599f3a30270b5;p=fw%2Faltos diff --git a/ao-tools/ao-send-telem/ao-send-telem.c b/ao-tools/ao-send-telem/ao-send-telem.c index ef6f892c..4b8f3c4f 100644 --- a/ao-tools/ao-send-telem/ao-send-telem.c +++ b/ao-tools/ao-send-telem/ao-send-telem.c @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -113,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; @@ -169,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; @@ -238,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));