Browse Source

SITL: fixed build under cygwin

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
cdd350f93e
  1. 2
      libraries/SITL/SIM_FlightAxis.cpp

2
libraries/SITL/SIM_FlightAxis.cpp

@ -90,7 +90,9 @@ void *FlightAxis::update_thread(void *arg) @@ -90,7 +90,9 @@ void *FlightAxis::update_thread(void *arg)
{
FlightAxis *flightaxis = (FlightAxis *)arg;
#ifndef __CYGWIN__
pthread_setname_np(pthread_self(), "ardupilot-flightaxis");
#endif
flightaxis->update_loop();
return nullptr;

Loading…
Cancel
Save