diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-03-31 09:24:37 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-03-31 09:24:37 -0700 |
commit | bf4f50de9ea8f6e36c3ac126bdbe50e1ea187eaf (patch) | |
tree | 3c44bf5f9f239f38743a5d1282075a73efe58972 /firmware/usrp3/x300/x300_main.c | |
parent | 49489a56240ac9593330a3c56b5aefdf8c609a07 (diff) | |
parent | 61599b3eaadcc46ac8d24974176d7fd89778d06e (diff) | |
download | uhd-bf4f50de9ea8f6e36c3ac126bdbe50e1ea187eaf.tar.gz uhd-bf4f50de9ea8f6e36c3ac126bdbe50e1ea187eaf.tar.bz2 uhd-bf4f50de9ea8f6e36c3ac126bdbe50e1ea187eaf.zip |
Merge branch 'master' of github.com:EttusResearch/uhddev
Diffstat (limited to 'firmware/usrp3/x300/x300_main.c')
-rw-r--r-- | firmware/usrp3/x300/x300_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/usrp3/x300/x300_main.c b/firmware/usrp3/x300/x300_main.c index d865e1d09..b8c4fb41a 100644 --- a/firmware/usrp3/x300/x300_main.c +++ b/firmware/usrp3/x300/x300_main.c @@ -13,7 +13,7 @@ #include <udp_uart.h> #include <u3_net_stack.h> #include <link_state_route_proto.h> -#include <printf.h> +#include <trace.h> #include <string.h> #include <print_addrs.h> @@ -33,7 +33,7 @@ void program_udp_framer( const eth_mac_addr_t *dst_mac = u3_net_stack_arp_cache_lookup(dst_ip); const size_t ethbase = (ethno == 0)? SR_ETHINT0 : SR_ETHINT1; const size_t vdest = (sid >> 16) & 0xff; - printf("handle_udp_prog_framer sid %u vdest %u\n", sid, vdest); + UHD_FW_TRACE_FSTR(INFO, "handle_udp_prog_framer sid %u vdest %u\n", sid, vdest); //setup source framer const eth_mac_addr_t *src_mac = u3_net_stack_get_mac_addr(ethno); @@ -204,7 +204,7 @@ void handle_udp_mtu_detect( if (buff == NULL) { return; } else if (!(request->flags & X300_MTU_DETECT_ECHO_REQUEST)) { - printf("DEBUG: MTU detect got unknown request\n"); + UHD_FW_TRACE(WARN, "MTU detect got unknown request"); reply.flags |= X300_MTU_DETECT_ERROR; } |