mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
[upd] fix defaults
This commit is contained in:
@@ -66,8 +66,8 @@ extern struct udp_periph udp0;
|
|||||||
#define UDP0_HOST "127.0.0.1"
|
#define UDP0_HOST "127.0.0.1"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UDP0_PORT_OUT 4242
|
#ifndef UDP0_PORT_OUT
|
||||||
#define UDP0_PORT_OUT
|
#define UDP0_PORT_OUT 4242
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UDP0_PORT_IN
|
#ifndef UDP0_PORT_IN
|
||||||
@@ -93,12 +93,12 @@ extern struct udp_periph udp1;
|
|||||||
#define UDP1_HOST "127.0.0.1"
|
#define UDP1_HOST "127.0.0.1"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UDP1_PORT_OUT 4242
|
#ifndef UDP1_PORT_OUT
|
||||||
#define UDP1_PORT_OUT
|
#define UDP1_PORT_OUT 4244
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UDP1_PORT_IN
|
#ifndef UDP1_PORT_IN
|
||||||
#define UDP1_PORT_IN 4243
|
#define UDP1_PORT_IN 4245
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UDP1_BROADCAST
|
#ifndef UDP1_BROADCAST
|
||||||
@@ -120,12 +120,12 @@ extern struct udp_periph udp2;
|
|||||||
#define UDP2_HOST "127.0.0.1"
|
#define UDP2_HOST "127.0.0.1"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UDP2_PORT_OUT 4242
|
#ifndef UDP2_PORT_OUT
|
||||||
#define UDP2_PORT_OUT
|
#define UDP2_PORT_OUT 4246
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UDP2_PORT_IN
|
#ifndef UDP2_PORT_IN
|
||||||
#define UDP2_PORT_IN 4243
|
#define UDP2_PORT_IN 4247
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef UDP2_BROADCAST
|
#ifndef UDP2_BROADCAST
|
||||||
|
|||||||
Reference in New Issue
Block a user