From bc8713e7af36377abe1c0e969c095c6b627b00c7 Mon Sep 17 00:00:00 2001 From: Martin Anderseck Date: Thu, 17 Mar 2022 13:34:15 +0100 Subject: 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. --- host/lib/include/uhdlib/usrp/cores/spi_core_4000.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/include') 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 - -- cgit v1.2.3