diff options
author | px4dev <px4@purgatory.org> | 2012-11-30 22:15:40 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-11-30 22:15:40 -0800 |
commit | 7d9d307ab096d8d5f07a40959638da67dca9f676 (patch) | |
tree | e4a785d5b6aae6037390cac50fe994e86e60960e /apps/px4io/comms.c | |
parent | 8c4e9de70a36119d0ff4b5c4369c4667bfae4383 (diff) | |
download | px4-firmware-7d9d307ab096d8d5f07a40959638da67dca9f676.tar.gz px4-firmware-7d9d307ab096d8d5f07a40959638da67dca9f676.tar.bz2 px4-firmware-7d9d307ab096d8d5f07a40959638da67dca9f676.zip |
We don't need non-blocking I/O for this context anymore; it's OK for it to block.
Diffstat (limited to 'apps/px4io/comms.c')
-rw-r--r-- | apps/px4io/comms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/px4io/comms.c b/apps/px4io/comms.c index a93ef9cb8..b24fba09d 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 */ |