GPS: Do not use nonblocking access

This commit is contained in:
Lorenz Meier
2016-08-09 15:59:34 +02:00
parent 12a5ce7a0a
commit aae3a37983
-7
View File
@@ -643,13 +643,6 @@ GPS::task_main()
px4_task_exit(1);
}
#ifndef __PX4_QURT
// TODO: this call is not supported on Snapdragon just yet.
// However it seems to be nonblocking anyway and working.
int flags = fcntl(_serial_fd, F_GETFL, 0);
fcntl(_serial_fd, F_SETFL, flags | O_NONBLOCK);
#endif
_orb_inject_data_fd = orb_subscribe(ORB_ID(gps_inject_data));
initializeCommunicationDump();