From 7d9d307ab096d8d5f07a40959638da67dca9f676 Mon Sep 17 00:00:00 2001 From: px4dev Date: Fri, 30 Nov 2012 22:15:40 -0800 Subject: [PATCH] We don't need non-blocking I/O for this context anymore; it's OK for it to block. --- apps/px4io/comms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/px4io/comms.c b/apps/px4io/comms.c index a93ef9cb8f..b24fba09d9 100644 --- a/apps/px4io/comms.c +++ b/apps/px4io/comms.c @@ -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 */