Skip to content

Commit 327927d

Browse files
mib1-nordicmasz-nordic
authored andcommitted
nfc: Align to changes in nrfx_timer driver
Align to changes in nrfx_timer driver. Signed-off-by: Michał Bainczyk <[email protected]>
1 parent 26576c7 commit 327927d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

subsys/nfc/lib/platform.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ LOG_MODULE_REGISTER(nfc_platform, CONFIG_NFC_PLATFORM_LOG_LEVEL);
4545
#define NFC_TIMER_IRQn NRFX_CONCAT_3(TIMER, \
4646
NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID, \
4747
_IRQn)
48-
#define nfc_timer_irq_handler NRFX_CONCAT_3(nrfx_timer_, \
49-
NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID, \
50-
_irq_handler)
5148
#endif /* NFC_PLATFORM_USE_TIMER_WORKAROUND */
5249

5350
#if IS_ENABLED(CONFIG_CLOCK_CONTROL_NRF)
@@ -123,7 +120,7 @@ nrfx_err_t nfc_platform_setup(nfc_lib_cb_resolve_t nfc_lib_cb_resolve, uint8_t *
123120

124121
#if NFC_PLATFORM_USE_TIMER_WORKAROUND
125122
IRQ_CONNECT(NFC_TIMER_IRQn, DT_IRQ(NFCT, priority),
126-
nfc_timer_irq_handler, NULL, 0);
123+
nrfx_nfct_workaround_timer_handler, NULL, 0);
127124
#endif /* NFC_PLATFORM_USE_TIMER_WORKAROUND */
128125

129126
*p_irq_priority = DT_IRQ(NFCT, priority);

0 commit comments

Comments
 (0)