Skip to content
Snippets Groups Projects
Commit aae3a379 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

GPS: Do not use nonblocking access

parent 12a5ce7a
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment