diff options
Diffstat (limited to 'usrp/host/apps/dump_shorts')
-rwxr-xr-x | usrp/host/apps/dump_shorts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/usrp/host/apps/dump_shorts b/usrp/host/apps/dump_shorts deleted file mode 100755 index 6104ea062..000000000 --- a/usrp/host/apps/dump_shorts +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env python -# -*- Python -*- - -import sys, errno - -counter = 0 - -try: - while 1: - x = sys.stdin.read (2) - if not x: - break - - v = (ord(x[1]) << 8) | ord(x[0]) - sys.stdout.write ("0x%08x %6d 0x%04x\n" % (counter, v, v)) - counter += 1 -except IOError, e: - if e.errno == errno.EPIPE: - sys.exit (0) - - - - |