|
|
|
@ -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(); |
|
|
|
|