mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
We don't need non-blocking I/O for this context anymore; it's OK for it to block.
This commit is contained in:
parent
8c4e9de70a
commit
7d9d307ab0
@ -73,7 +73,7 @@ void
|
||||
comms_init(void)
|
||||
{
|
||||
/* initialise the FMU interface */
|
||||
fmu_fd = open("/dev/ttyS1", O_RDWR | O_NONBLOCK);
|
||||
fmu_fd = open("/dev/ttyS1", O_RDWR);
|
||||
stream = hx_stream_init(fmu_fd, comms_handle_frame, NULL);
|
||||
|
||||
/* default state in the report to FMU */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user