diff options
author | Philip Balister <balister@moose.(none)> | 2010-05-13 15:51:28 -0400 |
---|---|---|
committer | Philip Balister <balister@moose.(none)> | 2010-05-13 15:51:58 -0400 |
commit | 41928cd9ff513f1e6d753e02a74db15bda4b1ba8 (patch) | |
tree | f1b3b780c6c54174179b04ec7cfd1d3cf7d3292f | |
parent | 89d6cb12a03153934b68d51e69bfdb3b9af43872 (diff) | |
download | uhd-41928cd9ff513f1e6d753e02a74db15bda4b1ba8.tar.gz uhd-41928cd9ff513f1e6d753e02a74db15bda4b1ba8.tar.bz2 uhd-41928cd9ff513f1e6d753e02a74db15bda4b1ba8.zip |
Change to 24 bit transfers.
-rw-r--r-- | host/apps/omap_debug/clkgen-config.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/apps/omap_debug/clkgen-config.cc b/host/apps/omap_debug/clkgen-config.cc index c21f54a60..70c63c6e8 100644 --- a/host/apps/omap_debug/clkgen-config.cc +++ b/host/apps/omap_debug/clkgen-config.cc @@ -239,7 +239,7 @@ spidev::spidev(std::string fname) int ret; int mode = 0; int speed = 12000000; - int bits = 32; + int bits = 24; fd = open(fname.c_str(), O_RDWR); @@ -264,7 +264,7 @@ void spidev::send(char *buf, char *rbuf, unsigned int nbytes) tr.len = nbytes; tr.delay_usecs = 0; tr.speed_hz = 12000000; - tr.bits_per_word = 32; + tr.bits_per_word = 24; ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr); |