diff options
author | Brian Padalino <bpadalino@gmail.com> | 2020-06-26 17:02:58 -0400 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2020-07-09 09:51:32 -0700 |
commit | 966e3637b4e81780cf84c8c0746387f23c107d2c (patch) | |
tree | d3dca98b10cec13a64c456a522e4f8fa83d1b0ca /host/utils/uhd_config_info.cpp | |
parent | f0fd3619cfe6f343b3c0ac9bff0dc1010905443e (diff) | |
download | uhd-966e3637b4e81780cf84c8c0746387f23c107d2c.tar.gz uhd-966e3637b4e81780cf84c8c0746387f23c107d2c.tar.bz2 uhd-966e3637b4e81780cf84c8c0746387f23c107d2c.zip |
ad9361: Fix mask for product ID check
The product ID check should be masked with 0xF8 and checked to be 0x08.
With a device off and weak pull-ups, the readback would always read
0xFF, passing the ID check when it obviously wasn't there. Extending
the mask to be 0xF8 shows that both 0's and 1's are read back from the
device.
Diffstat (limited to 'host/utils/uhd_config_info.cpp')
0 files changed, 0 insertions, 0 deletions