summaryrefslogtreecommitdiff
path: root/openpicc/application/main.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-24 07:59:42 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-24 07:59:42 +0000
commit29ea5bbf5b9c3b3679aa40e4ee7029284cb424c6 (patch)
tree0e20e9c665d05c228684e815ca142c0814057a80 /openpicc/application/main.c
parent341b884abc8c29790dfffab1921a1f4fa127d62d (diff)
Add load modulation and encoding/decoding code from harald
git-svn-id: https://svn.openpcd.org:2342/trunk@351 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/main.c')
-rw-r--r--openpicc/application/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openpicc/application/main.c b/openpicc/application/main.c
index 37cc24a..48e9ab2 100644
--- a/openpicc/application/main.c
+++ b/openpicc/application/main.c
@@ -102,6 +102,8 @@ void main_help_print_buffer(ssc_dma_buffer_t *buffer, int *pktcount)
DumpStringToUSB(" ");
}
dumped = 1;
+ DumpUIntToUSB(i);
+ DumpStringToUSB(": ");
for(j=0; j<sizeof(*tmp)*8; j++) {
usb_print_char_f( (((*tmp) >> j) & 0x1) ? '1' : '_' , 0);
}
personal git repositories of Harald Welte. Your mileage may vary