We don't need non-blocking I/O for this context anymore; it's OK for it to block.

This commit is contained in:
px4dev 2012-11-30 22:15:40 -08:00
parent 8c4e9de70a
commit 7d9d307ab0
1 changed files with 1 additions and 1 deletions

View File

@ -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 */