forked from Archive/PX4-Autopilot
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)
|
comms_init(void)
|
||||||
{
|
{
|
||||||
/* initialise the FMU interface */
|
/* 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);
|
stream = hx_stream_init(fmu_fd, comms_handle_frame, NULL);
|
||||||
|
|
||||||
/* default state in the report to FMU */
|
/* default state in the report to FMU */
|
||||||
|
|
Loading…
Reference in New Issue