From 17501e9c4a1fb59df39683bd3752a5120d5f696d Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 4 Apr 2022 11:56:21 -0700 Subject: [PATCH] px4io:Removed dma_poll call back --- src/modules/px4iofirmware/px4io.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/modules/px4iofirmware/px4io.cpp b/src/modules/px4iofirmware/px4io.cpp index 69527d7bf2..adec3468e3 100644 --- a/src/modules/px4iofirmware/px4io.cpp +++ b/src/modules/px4iofirmware/px4io.cpp @@ -66,8 +66,6 @@ struct sys_state_s system_state; -static struct hrt_call serial_dma_call; - /* * a set of debug buffers to allow us to send debug information from ISRs */ @@ -290,9 +288,6 @@ extern "C" __EXPORT int user_start(int argc, char *argv[]) * Poll at 1ms intervals for received bytes that have not triggered * a DMA event. */ -#ifdef CONFIG_ARCH_DMA - hrt_call_every(&serial_dma_call, 1000, 1000, (hrt_callout)stm32_serial_dma_poll, NULL); -#endif /* print some startup info */ syslog(LOG_INFO, "\nPX4IO: starting\n");