mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
otherwise posix_sitl_rtps fail to build (MACOS)
This commit is contained in:
@@ -54,6 +54,12 @@
|
|||||||
#define SLEEP_MS 1
|
#define SLEEP_MS 1
|
||||||
#define BAUDRATE B460800
|
#define BAUDRATE B460800
|
||||||
#define BAUDRATE_VAL 460800
|
#define BAUDRATE_VAL 460800
|
||||||
|
#ifndef B460800
|
||||||
|
#define B460800 460800
|
||||||
|
#endif
|
||||||
|
#ifndef B921600
|
||||||
|
#define B921600 921600
|
||||||
|
#endif
|
||||||
#define DEVICE "/dev/ttyACM0"
|
#define DEVICE "/dev/ttyACM0"
|
||||||
#define POLL_MS 1
|
#define POLL_MS 1
|
||||||
#define DEFAULT_RECV_PORT 2019
|
#define DEFAULT_RECV_PORT 2019
|
||||||
|
|||||||
Reference in New Issue
Block a user