diff --git a/libnfc/chips/pn53x.c b/libnfc/chips/pn53x.c index 2d5e810..691a94a 100644 --- a/libnfc/chips/pn53x.c +++ b/libnfc/chips/pn53x.c @@ -277,9 +277,9 @@ pn53x_decode_target_data(const byte_t* pbtRawData, size_t szDataLen, nfc_chip_t bool pn53x_InListPassiveTarget(const nfc_device_t* pnd, - const nfc_modulation_t nmInitModulation, const byte_t szMaxTargets, - const byte_t* pbtInitiatorData, const size_t szInitiatorDataLen, - byte_t* pbtTargetsData, size_t* pszTargetsData) + const nfc_modulation_t nmInitModulation, const byte_t szMaxTargets, + const byte_t* pbtInitiatorData, const size_t szInitiatorDataLen, + byte_t* pbtTargetsData, size_t* pszTargetsData) { byte_t abtCmd[sizeof(pncmd_initiator_list_passive)]; memcpy(abtCmd,pncmd_initiator_list_passive,sizeof(pncmd_initiator_list_passive)); @@ -299,4 +299,4 @@ pn53x_InListPassiveTarget(const nfc_device_t* pnd, } else { return false; } -} \ No newline at end of file +} diff --git a/libnfc/nfc.c b/libnfc/nfc.c index d3dd28e..11ef4af 100644 --- a/libnfc/nfc.c +++ b/libnfc/nfc.c @@ -417,10 +417,11 @@ bool nfc_initiator_select_dep_target(const nfc_device_t* pnd, const nfc_modulati * The NFC device will try to find the available passive tags. Some NFC devices are capable to emulate passive tags. The standards (ISO18092 and ECMA-340) describe the modulation that can be used for reader to passive communications. The chip needs to know with what kind of tag it is dealing with, therefore the initial modulation and speed (106, 212 or 424 kbps) should be supplied. * @note For every initial modulation type there is a different collection of information returned (in nfc_target_info_t pointer pti) They all fit in the data-type which is called nfc_target_info_t. This is a union which contains the tag information that belongs to the according initial modulation type. */ -bool nfc_initiator_select_passive_target(const nfc_device_t* pnd, - const nfc_modulation_t nmInitModulation, - const byte_t* pbtInitData, const size_t szInitDataLen, - nfc_target_info_t* pnti) +bool +nfc_initiator_select_passive_target(const nfc_device_t* pnd, + const nfc_modulation_t nmInitModulation, + const byte_t* pbtInitData, const size_t szInitDataLen, + nfc_target_info_t* pnti) { byte_t abtInit[MAX_FRAME_LEN]; size_t szInitLen; @@ -564,10 +565,10 @@ bool nfc_initiator_deselect_target(const nfc_device_t* pnd) * @param pszTargetFound found targets count */ bool -nfc_initiator_poll_targets(const nfc_device_t* pnd, - const nfc_target_type_t* pnttTargetTypes, const size_t szTargetTypes, - const byte_t btPollNr, const byte_t btPeriod, - nfc_target_t* pntTargets, size_t* pszTargetFound) +nfc_initiator_poll_targets(const nfc_device_t* pnd, + const nfc_target_type_t* pnttTargetTypes, const size_t szTargetTypes, + const byte_t btPollNr, const byte_t btPeriod, + nfc_target_t* pntTargets, size_t* pszTargetFound) { size_t szTxInAutoPoll, n, szRxLen; byte_t abtRx[256];