1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-26 15:54:15 +01:00

Several small changes to OSX simulator.

*Changed .gitignore to ignore OSXSIM build files
*Added SIMOSX define
*Changed tcp and udp ports to be consistent with SIMPOSIX.
This commit is contained in:
Laura Sebesta 2012-07-08 14:26:08 +02:00
parent a98991d8a1
commit bc5e428bfe
4 changed files with 7 additions and 3 deletions

3
.gitignore vendored
View File

@ -23,6 +23,9 @@
# /flight/PipBee/ # /flight/PipBee/
/flight/PipBee/Build /flight/PipBee/Build
# /flight/Project/OpenPilotOSX/
/flight/Project/OpenPilotOSX/build/
# /ground/ # /ground/
/ground/Build /ground/Build

View File

@ -74,5 +74,6 @@
#define CPULOAD_LIMIT_CRITICAL 95 #define CPULOAD_LIMIT_CRITICAL 95
#define REVOLUTION #define REVOLUTION
#define SIM_OSX
#endif /* PIOS_CONFIG_POSIX_H */ #endif /* PIOS_CONFIG_POSIX_H */

View File

@ -52,12 +52,12 @@ void Stack_Change_Weak() {
const struct pios_tcp_cfg pios_tcp_telem_cfg = { const struct pios_tcp_cfg pios_tcp_telem_cfg = {
.ip = "0.0.0.0", .ip = "0.0.0.0",
.port = 9001, .port = 9000,
}; };
const struct pios_udp_cfg pios_udp_telem_cfg = { const struct pios_udp_cfg pios_udp_telem_cfg = {
.ip = "0.0.0.0", .ip = "0.0.0.0",
.port = 9001, .port = 9000,
}; };
const struct pios_tcp_cfg pios_tcp_gps_cfg = { const struct pios_tcp_cfg pios_tcp_gps_cfg = {