Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
manu0401 authored and neomilium committed Nov 19, 2018
1 parent 85100c0 commit 7ca85a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libnfc/drivers/pn53x_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,9 @@ pn53x_usb_scan(const nfc_context *context, nfc_connstring connstrings[], const s
(pn53x_usb_supported_devices[n].product_id == dev->descriptor.idProduct)) {
// Make sure there are 2 endpoints available
// libusb-win32 may return a NULL dev->config,
// or the descriptoes may be corrupted, hence
// or the descriptors may be corrupted, hence
// let us assume we will use hardcoded defaults
// from n53x_usb_supported_devices if available.
// from pn53x_usb_supported_devices if available.
// otherwise get data from the descriptors.
if (pn53x_usb_supported_devices[n].uiMaxPacketSize == 0) {
if (dev->config->interface == NULL || dev->config->interface->altsetting == NULL) {
Expand Down

0 comments on commit 7ca85a0

Please sign in to comment.