diff options
author | Josh Blum <josh@joshknows.com> | 2011-01-07 11:51:31 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-01-07 11:51:31 -0800 |
commit | e0005a2a00b49b1c6802fd7e78e8f92ff22a6bce (patch) | |
tree | 6e2fcaa7c44648402d2ffcb830819d9d63d893a0 /firmware/zpu/lib/nonstdio.h | |
parent | f879a50989a35a2ba4886630164d71353a560c2e (diff) | |
download | uhd-e0005a2a00b49b1c6802fd7e78e8f92ff22a6bce.tar.gz uhd-e0005a2a00b49b1c6802fd7e78e8f92ff22a6bce.tar.bz2 uhd-e0005a2a00b49b1c6802fd7e78e8f92ff22a6bce.zip |
usrp2: tweaking firmware
added delay to the link up/down code to space out calls
removed the pkt_ctrl init and just do it when the mode changes
tweaked the addr printing
Diffstat (limited to 'firmware/zpu/lib/nonstdio.h')
-rw-r--r-- | firmware/zpu/lib/nonstdio.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/firmware/zpu/lib/nonstdio.h b/firmware/zpu/lib/nonstdio.h index 6aca7ed9a..2c4aeb961 100644 --- a/firmware/zpu/lib/nonstdio.h +++ b/firmware/zpu/lib/nonstdio.h @@ -38,13 +38,10 @@ void puthex32_nl(unsigned long x); #define puthex_nl puthex32_nl void newline(); // putchar('\n') -void print_mac_addr(const unsigned char addr[6]); -void print_uint64(uint64_t v); +void print_mac_addr(const void *addr); -void print_buffer(uint32_t *buf, size_t n); -//char *itoa(signed long value, char *result, int base); -//void reverse(char s[]); +void print_ip_addr(const void *addr); -void print_ip_addr(const void *t); +void print_buffer(uint32_t *buf, size_t n); #endif /* INCLUDED_NONSTDIO_H */ |