aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/mpmutils.py
diff options
context:
space:
mode:
authoreklai <eric@skysafe.io>2018-12-14 09:57:07 -0800
committerMartin Braun <martin.braun@ettus.com>2019-08-22 09:58:48 -0700
commit916f318badcadb25810b11bfc2a91e792378015f (patch)
tree6e0f6b16c685e3ec78325006fd1646adcfac1f7d /mpm/python/usrp_mpm/mpmutils.py
parent0fccb00d6ba7d85f2bc11df5d1948b6c521cb8f6 (diff)
downloaduhd-916f318badcadb25810b11bfc2a91e792378015f.tar.gz
uhd-916f318badcadb25810b11bfc2a91e792378015f.tar.bz2
uhd-916f318badcadb25810b11bfc2a91e792378015f.zip
x300: fix x300 GPIO ATR property tree access type
In x300_radio_ctrl_impl.cpp, the GPIO attributes GPIO_SRC, GPIO_CTRL, and GPIO_DDR are initialized as with vector<string> values in the property tree. However, they are accessed in set_gpio_attr() and get_gpio_attr() as vector<uint32_t>, which will crash. This commit changes these access methods to be consistent with the attribute value types. This is not an issue for those who use the multi-usrp interface, since that interface's set_gpio_attr() and get_gpio_attr() methods are implemented with the correct typing for GPIO_SRC, GPIO_CTRL, and GPIO_DDR.
Diffstat (limited to 'mpm/python/usrp_mpm/mpmutils.py')
0 files changed, 0 insertions, 0 deletions