remove unnecessary lines
This commit is contained in:
parent
b1de403736
commit
0f04bb7ddb
@ -369,9 +369,7 @@ pn53x_usb_open(const nfc_context *context, const nfc_connstring connstring)
|
|||||||
case SONY_PN531:
|
case SONY_PN531:
|
||||||
CHIP_DATA(pnd)->timer_correction = 54;
|
CHIP_DATA(pnd)->timer_correction = 54;
|
||||||
break;
|
break;
|
||||||
case SONY_RCS360:
|
default:
|
||||||
case SONY_RCS380:
|
|
||||||
case UNKNOWN:
|
|
||||||
CHIP_DATA(pnd)->timer_correction = 0; // TODO: allow user to know if timed functions are available
|
CHIP_DATA(pnd)->timer_correction = 0; // TODO: allow user to know if timed functions are available
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -700,14 +698,6 @@ pn53x_usb_set_property_bool(nfc_device *pnd, const nfc_property property, const
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case NXP_PN531:
|
|
||||||
case NXP_PN533:
|
|
||||||
case SONY_PN531:
|
|
||||||
case SONY_RCS360:
|
|
||||||
case SONY_RCS380:
|
|
||||||
case UNKNOWN:
|
|
||||||
// Nothing to do.
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
return NFC_SUCCESS;
|
return NFC_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user