diff options
author | Martin Anderseck <martin.anderseck@ni.com> | 2022-03-17 13:34:15 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-04-04 12:27:18 -0700 |
commit | bc8713e7af36377abe1c0e969c095c6b627b00c7 (patch) | |
tree | 2376c3fa5430b2329b66e44d485904255f29b3f1 /host/lib/include | |
parent | af9e13f4dcf8ebf71a5944edcd0c0a328f558057 (diff) | |
download | uhd-bc8713e7af36377abe1c0e969c095c6b627b00c7.tar.gz uhd-bc8713e7af36377abe1c0e969c095c6b627b00c7.tar.bz2 uhd-bc8713e7af36377abe1c0e969c095c6b627b00c7.zip |
host: SPI: Read number of supported SPI slaves from device
Add support for reading the number of supported SPI slaves from
the device. This has become necessary because we may have bitfiles
with different capabilities and we want to report this back correctly.
Diffstat (limited to 'host/lib/include')
-rw-r--r-- | host/lib/include/uhdlib/usrp/cores/spi_core_4000.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/include/uhdlib/usrp/cores/spi_core_4000.hpp b/host/lib/include/uhdlib/usrp/cores/spi_core_4000.hpp index 4577b14cf..faeb9b03d 100644 --- a/host/lib/include/uhdlib/usrp/cores/spi_core_4000.hpp +++ b/host/lib/include/uhdlib/usrp/cores/spi_core_4000.hpp @@ -35,6 +35,7 @@ public: const size_t spi_transaction_cfg, const size_t spi_transaction_go, const size_t spi_status, + const size_t spi_controller_info, const mapper_sptr port_mapper); //! Configures the SPI transaction. The vector index refers to the slave number. @@ -43,4 +44,3 @@ public: }; }} // namespace uhd::cores - |