diff options
author | Josh Blum <josh@joshknows.com> | 2011-03-30 16:50:02 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-03-30 16:50:02 -0700 |
commit | 0f64366dee3fb8e4556509b2de0f47fa8053313e (patch) | |
tree | c5da2b2ff46d83ab8c88a6de6b24db0b0d2c3847 /firmware/fx2/usrp1 | |
parent | 1d29ee1086620b7dc51dcdbcaaef2690d2e95dc6 (diff) | |
download | uhd-0f64366dee3fb8e4556509b2de0f47fa8053313e.tar.gz uhd-0f64366dee3fb8e4556509b2de0f47fa8053313e.tar.bz2 uhd-0f64366dee3fb8e4556509b2de0f47fa8053313e.zip |
usrp1: reverted spi transaction changes to the usrp1 firmware (broken and not needed)
Diffstat (limited to 'firmware/fx2/usrp1')
-rw-r--r-- | firmware/fx2/usrp1/usrp_main.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/firmware/fx2/usrp1/usrp_main.c b/firmware/fx2/usrp1/usrp_main.c index 3eb8c001f..802516c0b 100644 --- a/firmware/fx2/usrp1/usrp_main.c +++ b/firmware/fx2/usrp1/usrp_main.c @@ -118,7 +118,7 @@ app_vendor_cmd (void) EP0BCH = 0; EP0BCL = wLengthL; break; - + case VRQ_SPI_READ: if (!spi_read (wValueH, wValueL, wIndexH, wIndexL, EP0BUF, wLengthL)) return 0; @@ -127,14 +127,6 @@ app_vendor_cmd (void) EP0BCL = wLengthL; break; - case VRQ_SPI_TRANSACT: - if (!spi_transact (wValueH, wValueL, wIndexH, wIndexL, wLengthH, EP0BUF, wLengthL)) - return 0; - - EP0BCH = 0; - EP0BCL = wLengthL; - break; - default: return 0; } |