diff options
author | Josh Blum <josh@joshknows.com> | 2011-04-01 10:40:07 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-04-01 10:40:07 -0700 |
commit | cb9080c3c3a04f84818d698f73892441f6d14d40 (patch) | |
tree | 5e43599e166b282684143e7b9c838251e4864659 /firmware/fx2/usrp1 | |
parent | 592af4a86be7309a858e04d1e930d8ac6932db18 (diff) | |
parent | 6f70d17b206226823dc6108410d0608373300f58 (diff) | |
download | uhd-cb9080c3c3a04f84818d698f73892441f6d14d40.tar.gz uhd-cb9080c3c3a04f84818d698f73892441f6d14d40.tar.bz2 uhd-cb9080c3c3a04f84818d698f73892441f6d14d40.zip |
Merge branch 'fix/usrp1_spi_read'
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; } |