diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-15 11:22:25 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-15 11:22:25 -0700 |
commit | 52229e99c90966c392f8ec74752912e3f00eec1d (patch) | |
tree | c72cfdb388745c13c73859cd254bb2ae5d7fb804 /firmware/microblaze/apps | |
parent | 39ca8e25fc7f9b3170cb517b72640a62b15d253f (diff) | |
parent | 26b7de0ac0cd64946582b2d52ab0bb3555156039 (diff) | |
download | uhd-52229e99c90966c392f8ec74752912e3f00eec1d.tar.gz uhd-52229e99c90966c392f8ec74752912e3f00eec1d.tar.bz2 uhd-52229e99c90966c392f8ec74752912e3f00eec1d.zip |
Merge branch 'flow_ctrl_with_fpga'
Diffstat (limited to 'firmware/microblaze/apps')
-rw-r--r-- | firmware/microblaze/apps/txrx_uhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/apps/txrx_uhd.c b/firmware/microblaze/apps/txrx_uhd.c index 1dd6e80ac..e38eb621d 100644 --- a/firmware/microblaze/apps/txrx_uhd.c +++ b/firmware/microblaze/apps/txrx_uhd.c @@ -372,7 +372,7 @@ eth_pkt_inspector(dbsm_t *sm, int bufno) // In the future, a hardware state machine will do this... if ( //warning! magic numbers approaching.... (((buff + ((2 + 14 + 20)/sizeof(uint32_t)))[0] & 0xffff) == USRP2_UDP_DATA_PORT) && - ((buff + ((2 + 14 + 20 + 8)/sizeof(uint32_t)))[0] != USRP2_INVALID_VRT_HEADER) + ((buff + ((2 + 14 + 20 + 8)/sizeof(uint32_t)))[1] != USRP2_INVALID_VRT_HEADER) ) return false; //test if its an ip recovery packet |