Browse Source

GPS: Do not use nonblocking access

sbg
Lorenz Meier 9 years ago
parent
commit
aae3a37983
  1. 7
      src/drivers/gps/gps.cpp

7
src/drivers/gps/gps.cpp

@ -643,13 +643,6 @@ GPS::task_main() @@ -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();

Loading…
Cancel
Save