Revision cc6bbf94
| b/host/lib/usrp/usrp1/dboard_iface.cpp | ||
|---|---|---|
| 225 | 225 |
void usrp1_dboard_iface::set_atr_reg(unit_t unit, |
| 226 | 226 |
atr_reg_t atr, boost::uint16_t value) |
| 227 | 227 |
{
|
| 228 |
if ((atr == ATR_REG_IDLE) || (atr == ATR_REG_FULL_DUPLEX)) {
|
|
| 229 |
//TODO probably just ignore these two atr settings because all dboards will try to set them |
|
| 230 |
std::cerr << "error: set_atr_reg(): unsupported state" << std::endl; |
|
| 228 |
// Ignore unsupported states |
|
| 229 |
if ((atr == ATR_REG_IDLE) || (atr == ATR_REG_FULL_DUPLEX)) |
|
| 231 | 230 |
return; |
| 232 |
} |
|
| 233 | 231 |
|
| 234 | 232 |
switch(unit) {
|
| 235 | 233 |
case UNIT_RX: |
Also available in: Unified diff