mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -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;
|
||||
|
||||
#ifndef __CYGWIN__
|
||||
pthread_setname_np(pthread_self(), "ardupilot-flightaxis");
|
||||
#endif
|
||||
|
||||
flightaxis->update_loop();
|
||||
return nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user