diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-07-23 10:06:46 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-07-23 10:01:46 -0500 |
commit | 3f8d93d2f178e6291ffd0112aa3342b00a3e2e5a (patch) | |
tree | 12744498066a4d0bfc57072062637e9bd7f41e42 /CODING.md | |
parent | 5683b30c8f62a0dc176cefbab25b56760363e878 (diff) | |
download | uhd-3f8d93d2f178e6291ffd0112aa3342b00a3e2e5a.tar.gz uhd-3f8d93d2f178e6291ffd0112aa3342b00a3e2e5a.tar.bz2 uhd-3f8d93d2f178e6291ffd0112aa3342b00a3e2e5a.zip |
python: rfnoc: Change reference type for noc_block_base export
By changing the type for accesses to noc_block_base calls in the Python
from sptr& to a simple reference (&), we fix the "holder type" issues
that crop up when trying to use radio_control from multi_usrp, which
returns access to the block as a reference rather than a `sptr`.
The error message seen without this fix always contains this string:
Unable to cast from non-held to held instance (T& to Holder<T>)
(The exact message depends on the API call made).
Diffstat (limited to 'CODING.md')
0 files changed, 0 insertions, 0 deletions