mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 13:55:40 +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
|
||||
}
|
||||
|
||||
// compatibility with OSX
|
||||
#ifdef __APPLE__
|
||||
#define MSG_NOSIGNAL SO_NOSIGPIPE
|
||||
#endif
|
||||
|
||||
/***************************************************************************************
|
||||
* send servo command over udp
|
||||
***************************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user