mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
[crrcsim] fix udp sending compatibility with OSX
This commit is contained in:
@@ -460,6 +460,11 @@ void decode_imupacket(struct NpsFdm * fdm, byte* buffer)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// compatibility with OSX
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#define MSG_NOSIGNAL SO_NOSIGPIPE
|
||||||
|
#endif
|
||||||
|
|
||||||
/***************************************************************************************
|
/***************************************************************************************
|
||||||
* send servo command over udp
|
* send servo command over udp
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user