mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
px4io:Removed dma_poll call back
This commit is contained in:
parent
10a2b4c9f7
commit
17501e9c4a
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user