diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-30 12:43:41 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-30 12:43:41 -0700 |
commit | 4240d5a2a1b705fe8ed5c3a1d1deef24be00d444 (patch) | |
tree | 6c292d10784049bd5f4e92e69de00f227b279cb1 /firmware/microblaze/lib/spi.c | |
parent | 5dca9e6315c5f827d97351316e5bdd3a786dc4f1 (diff) | |
download | uhd-4240d5a2a1b705fe8ed5c3a1d1deef24be00d444.tar.gz uhd-4240d5a2a1b705fe8ed5c3a1d1deef24be00d444.tar.bz2 uhd-4240d5a2a1b705fe8ed5c3a1d1deef24be00d444.zip |
usrp2: reorganized firmware directory
Diffstat (limited to 'firmware/microblaze/lib/spi.c')
-rw-r--r-- | firmware/microblaze/lib/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/lib/spi.c b/firmware/microblaze/lib/spi.c index 937397df6..bef808e57 100644 --- a/firmware/microblaze/lib/spi.c +++ b/firmware/microblaze/lib/spi.c @@ -43,7 +43,7 @@ spi_transact(bool readback, int slave, uint32_t data, int length, uint32_t flags spi_wait(); // Tell it which SPI slave device to access - spi_regs->ss = slave & 0xff; + spi_regs->ss = slave & 0xffff; // Data we will send spi_regs->txrx0 = data; |