From 1d6e1970ef586d8898a81e9083f5b7456d50a280 Mon Sep 17 00:00:00 2001 From: "Frank Singleton, VK3FCS" Date: Sun, 30 Jul 2000 04:05:35 +0000 Subject: [PATCH] removed dump_hex from here.. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@60 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- ft747/test/testlibft747.c | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/ft747/test/testlibft747.c b/ft747/test/testlibft747.c index 692dcc229..8f1ca4165 100644 --- a/ft747/test/testlibft747.c +++ b/ft747/test/testlibft747.c @@ -6,7 +6,7 @@ * box (FIF-232C) or similar. * * - * $Id: testlibft747.c,v 1.4 2000-07-29 00:50:45 javabear Exp $ + * $Id: testlibft747.c,v 1.5 2000-07-30 04:05:35 javabear Exp $ * */ @@ -140,23 +140,7 @@ static void decode_band_data(unsigned char data) { } -/* - * Do a hex dump of the unsigned car array. - */ -static void dump_hex(unsigned char *ptr, int size, int length) { - int i; - - printf("Memory Dump \n\n"); - for(i=0; idisplayed_freq[1], + printf("Frequency = %x.%.2x%.2x%.2x \n", header->displayed_freq[1], header->displayed_freq[2], header->displayed_freq[3], header->displayed_freq[4] @@ -211,7 +191,6 @@ static int test(fd) { decode_mode_bit_map(datain[24]); /* decode mode bit map */ decode_band_data(datain[6]); /* decode current band data */ - dump_hex(datain, 345, 16); /* do a hex dump */ return 0; }