mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
SITL: fixed build under cygwin
This commit is contained in:
parent
e06f160dc9
commit
cdd350f93e
@ -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