*
* 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
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;
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;
if (fake) {
union ao_telemetry_all telem;
- uint16_t tick;
int i;
memset(&telem, '\0', sizeof (telem));