Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions nfc/include/nfc_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ typedef void (* nfc_lib_cb_resolve_t)(const void * p_ctx, const uint8_t * p_data
* @param[in, out] p_irq_priority Pointer to the interrupt priority configuration. You must
* set its value inside this function.
*
* @retval NRFX_SUCCESS If the NFC module is initialized successfully. If one
* of the arguments is invalid, an error code is returned.
* @retval 0 If the NFC module is initialized successfully. If one
* of the arguments is invalid, an error code is returned.
*/
nrfx_err_t nfc_platform_setup(nfc_lib_cb_resolve_t nfc_lib_cb_resolve, uint8_t * p_irq_priority);
int nfc_platform_setup(nfc_lib_cb_resolve_t nfc_lib_cb_resolve, uint8_t * p_irq_priority);


/**
Expand All @@ -75,13 +75,11 @@ nrfx_err_t nfc_platform_setup(nfc_lib_cb_resolve_t nfc_lib_cb_resolve, uint8_t *
* can be used to fill the Type 2 Tag Internal Bytes.
* @param[in] nfcid1_buff_len Length of the NFCID1 buffer.
*
* @retval NRFX_SUCCESS The operation was successful.
* @retval NRFX_ERROR_INVALID_LENGTH Length of the NFCID buffer is different than
* NRFX_NFCT_NFCID1_SINGLE_SIZE,
* NRFX_NFCT_NFCID1_DOUBLE_SIZE, or
* NRFX_NFCT_NFCID1_TRIPLE_SIZE.
* @retval 0 The operation was successful.
* @retval -E2BIG Length of the NFCID buffer is different than NRFX_NFCT_NFCID1_SINGLE_SIZE,
* NRFX_NFCT_NFCID1_DOUBLE_SIZE, or NRFX_NFCT_NFCID1_TRIPLE_SIZE.
*/
nrfx_err_t nfc_platform_nfcid1_default_bytes_get(uint8_t * const p_nfcid1_buff,
int nfc_platform_nfcid1_default_bytes_get(uint8_t * const p_nfcid1_buff,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please align indentation in the line below?

uint32_t nfcid1_buff_len);


Expand Down
Loading