File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ static struct onoff_client cli;
7272 ())
7373
7474#define NFC_T2T_BUFFER_SIZE (IS_ENABLED(CONFIG_NFC_T2T_NRFXLIB) ? NFC_PLATFORM_T2T_BUFFER_SIZE : 0U)
75- #define NFC_T4T_BUFFER_SIZE (IS_ENABLED(CONFIG_NFC_T4T_NRFXLIB) ? NFC_PLATFORM_T4T_BUFFER_SIZE : 0U)
75+ #define NFC_T4T_BUFFER_SIZE (IS_ENABLED(CONFIG_NFC_T4T_NRFXLIB) ? \
76+ (2 * NFC_PLATFORM_T4T_BUFFER_SIZE) : 0U)
7677
7778#define NFCT_PLATFORM_BUFFER_SIZE MAX(NFC_T4T_BUFFER_SIZE, NFC_T2T_BUFFER_SIZE)
7879
@@ -89,7 +90,7 @@ static uint8_t nfc_platform_buffer[NFCT_PLATFORM_BUFFER_SIZE] NFCT_MEMORY_SECTIO
8990
9091#if CONFIG_NFC_T4T_NRFXLIB
9192 BUILD_ASSERT (sizeof (nfc_platform_buffer ) >= NFC_T4T_BUFFER_SIZE ,
92- "Minimal buffer size for the NFC T4T operations must be at least 256 bytes" );
93+ "Minimal buffer size for the NFC T4T operations must be at least 518 bytes" );
9394#endif /* CONFIG_NFC_T4T_NRFXLIB */
9495
9596ISR_DIRECT_DECLARE (nfc_isr_wrapper )
You can’t perform that action at this time.
0 commit comments