mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +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:
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user