boards: nxp_fmuk66 fix serial_dma_poll

This commit is contained in:
Daniel Agar 2021-10-13 13:45:24 -04:00
parent 49a4283d0d
commit 41a4045630
No known key found for this signature in database
GPG Key ID: FD3CBA98017A69DE
2 changed files with 4 additions and 4 deletions

View File

@ -254,11 +254,11 @@ __EXPORT int board_app_initialize(uintptr_t arg)
syslog(LOG_ERR, "DMA alloc FAILED\n");
}
#if defined(SERIAL_HAVE_RXDMA)
#if defined(SERIAL_HAVE_DMA) || defined(LPSERIAL_HAVE_DMA)
// set up the serial DMA polling at 1ms intervals for received bytes that have not triggered a DMA event.
static struct hrt_call serial_dma_call;
hrt_call_every(&serial_dma_call, 1000, 1000, (hrt_callout)kinetis_lpserial_dma_poll_all, NULL);
#endif
#endif /* SERIAL_HAVE_DMA || LPSERIAL_HAVE_DMA */
/* initial LED state */
drv_led_start();

View File

@ -254,11 +254,11 @@ __EXPORT int board_app_initialize(uintptr_t arg)
syslog(LOG_ERR, "DMA alloc FAILED\n");
}
#if defined(SERIAL_HAVE_RXDMA)
#if defined(SERIAL_HAVE_DMA) || defined(LPSERIAL_HAVE_DMA)
// set up the serial DMA polling at 1ms intervals for received bytes that have not triggered a DMA event.
static struct hrt_call serial_dma_call;
hrt_call_every(&serial_dma_call, 1000, 1000, (hrt_callout)kinetis_lpserial_dma_poll_all, NULL);
#endif
#endif /* SERIAL_HAVE_DMA || LPSERIAL_HAVE_DMA */
/* initial LED state */
drv_led_start();