diff options
Diffstat (limited to 'ao-tools/ao-dump-up/ao-dump-up.c')
-rw-r--r-- | ao-tools/ao-dump-up/ao-dump-up.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/ao-tools/ao-dump-up/ao-dump-up.c b/ao-tools/ao-dump-up/ao-dump-up.c index df05088c..6866ef59 100644 --- a/ao-tools/ao-dump-up/ao-dump-up.c +++ b/ao-tools/ao-dump-up/ao-dump-up.c @@ -21,6 +21,7 @@ #include <unistd.h> #include <getopt.h> #include <string.h> +#include <ctype.h> #include "cc-usb.h" #include "cc.h" @@ -39,17 +40,6 @@ static void usage(char *program) exit(1); } -static uint8_t -log_checksum(int d[8]) -{ - uint8_t sum = 0x5a; - int i; - - for (i = 0; i < 8; i++) - sum += (uint8_t) d[i]; - return -sum; -} - static int get_nonwhite(struct cc_usb *cc, int timeout) { int c; @@ -147,7 +137,6 @@ main (int argc, char **argv) char *tty = NULL; char *device = NULL; int c; - char line[8192]; int nsamples; int i; int crc; |