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. |
||
|---|---|---|
| .. | ||
| cast.cpp | ||
| CMakeLists.txt | ||
| compat_check.cpp | ||
| config_parser.cpp | ||
| csv.cpp | ||
| eeprom_utils.cpp | ||
| gain_group.cpp | ||
| ihex.cpp | ||
| load_modules.cpp | ||
| log.cpp | ||
| log_c.cpp | ||
| paths.cpp | ||
| pathslib.cpp | ||
| platform.cpp | ||
| prefs.cpp | ||
| static.cpp | ||
| system_time.cpp | ||
| tasks.cpp | ||
| thread.cpp | ||
| thread_priority_c.cpp | ||