Revert the accidental change of default values for raw in/out ports.

This only affects standalone installs as the init.d script always
supplies all ports, overriding the compiled-in defaults.

Should fix #99
This commit is contained in:
Oliver Jowett 2016-02-08 21:39:21 +00:00
parent e101351b6e
commit 8f58d0621c

View file

@ -145,8 +145,8 @@ void modesInitConfig(void) {
Modes.ppm_error = MODES_DEFAULT_PPM; Modes.ppm_error = MODES_DEFAULT_PPM;
Modes.check_crc = 1; Modes.check_crc = 1;
Modes.net_heartbeat_interval = MODES_NET_HEARTBEAT_INTERVAL; Modes.net_heartbeat_interval = MODES_NET_HEARTBEAT_INTERVAL;
Modes.net_output_raw_ports = strdup("30001"); Modes.net_input_raw_ports = strdup("30001");
Modes.net_input_raw_ports = strdup("30002"); Modes.net_output_raw_ports = strdup("30002");
Modes.net_output_sbs_ports = strdup("30003"); Modes.net_output_sbs_ports = strdup("30003");
Modes.net_input_beast_ports = strdup("30004,30104"); Modes.net_input_beast_ports = strdup("30004,30104");
Modes.net_output_beast_ports = strdup("30005"); Modes.net_output_beast_ports = strdup("30005");