mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
SITL: fixed build under cygwin
This commit is contained in:
parent
bd9fe3f087
commit
6e956bb0dc
@ -90,7 +90,9 @@ void *FlightAxis::update_thread(void *arg)
|
|||||||
{
|
{
|
||||||
FlightAxis *flightaxis = (FlightAxis *)arg;
|
FlightAxis *flightaxis = (FlightAxis *)arg;
|
||||||
|
|
||||||
|
#ifndef __CYGWIN__
|
||||||
pthread_setname_np(pthread_self(), "ardupilot-flightaxis");
|
pthread_setname_np(pthread_self(), "ardupilot-flightaxis");
|
||||||
|
#endif
|
||||||
|
|
||||||
flightaxis->update_loop();
|
flightaxis->update_loop();
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user