mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-16 21:10:10 +00:00
usrp1: Remove error message for unsupported ATR registers
This commit is contained in:
parent
df74cfa4ad
commit
cc6bbf949f
1 changed files with 2 additions and 4 deletions
|
|
@ -225,11 +225,9 @@ boost::uint16_t usrp1_dboard_iface::read_gpio(unit_t unit)
|
|||
void usrp1_dboard_iface::set_atr_reg(unit_t unit,
|
||||
atr_reg_t atr, boost::uint16_t value)
|
||||
{
|
||||
if ((atr == ATR_REG_IDLE) || (atr == ATR_REG_FULL_DUPLEX)) {
|
||||
//TODO probably just ignore these two atr settings because all dboards will try to set them
|
||||
std::cerr << "error: set_atr_reg(): unsupported state" << std::endl;
|
||||
// Ignore unsupported states
|
||||
if ((atr == ATR_REG_IDLE) || (atr == ATR_REG_FULL_DUPLEX))
|
||||
return;
|
||||
}
|
||||
|
||||
switch(unit) {
|
||||
case UNIT_RX:
|
||||
|
|
|
|||
Loading…
Reference in a new issue