mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-16 21:10:10 +00:00
Add convenience factory for making a gain group that has a single zero-valued element. This factory requires a name, which should probably be ALL_GAINS, or something similar (these constants are device-specific). Using this new make_zero factory in the X300 radio control when we don't find any gain elements so that our gain groups aren't empty. This simplifies our later setters/getters because we know that we'll always have _something_ cached. Note that we only register this zero value gain group for TX, as our ADC is registered as a gain element, so our RX gain groups are never empty. |
||
|---|---|---|
| .. | ||
| convert | ||
| deps | ||
| experts | ||
| ic_reg_maps | ||
| include | ||
| rfnoc | ||
| transport | ||
| types | ||
| usrp | ||
| usrp_clock | ||
| utils | ||
| build_info.cpp | ||
| CMakeLists.txt | ||
| device.cpp | ||
| device3.cpp | ||
| error_c.cpp | ||
| exception.cpp | ||
| image_loader.cpp | ||
| property_tree.cpp | ||
| stream.cpp | ||
| stream_python.hpp | ||
| uhd.rc.in | ||
| version.cpp | ||
| version_c.cpp | ||