Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LS2N-drones
PX4-Autopilot
Commits
4f7909ee
Unverified
Commit
4f7909ee
authored
Jul 13, 2021
by
David Sidrane
Committed by
Daniel Agar
Jul 22, 2021
Browse files
Revert "nxp_fmuk66-e:DMA Poll not needed"
This reverts commit
39d68495
.
parent
cbb48f9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
boards/nxp/fmuk66-e/src/init.c
View file @
4f7909ee
...
...
@@ -235,6 +235,25 @@ __EXPORT int board_app_initialize(uintptr_t arg)
syslog
(
LOG_ERR
,
"DMA alloc FAILED
\n
"
);
}
/* set up the serial DMA polling */
#ifdef SERIAL_HAVE_DMA
static
struct
hrt_call
serial_dma_call
;
struct
timespec
ts
;
/*
* Poll at 1ms intervals for received bytes that have not triggered
* a DMA event.
*/
ts
.
tv_sec
=
0
;
ts
.
tv_nsec
=
1000000
;
hrt_call_every
(
&
serial_dma_call
,
ts_to_abstime
(
&
ts
),
ts_to_abstime
(
&
ts
),
(
hrt_callout
)
kinetis_serial_dma_poll
,
NULL
);
#endif
/* initial LED state */
drv_led_start
();
led_off
(
LED_RED
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment