Change all calls to adhere to new prototype

This commit is contained in:
George Oikonomou 2017-10-29 04:35:01 +00:00
parent aa07073acd
commit 73544572cf
8 changed files with 7 additions and 8 deletions

View File

@ -127,7 +127,7 @@ platform_init_stage_two(void)
#ifdef UART0_ENABLED #ifdef UART0_ENABLED
uart0_init(); uart0_init();
#if SLIP_ARCH_CONF_ENABLE #if SLIP_ARCH_CONF_ENABLE
slip_arch_init(0); slip_arch_init();
#else #else
uart0_set_input(serial_line_input_byte); uart0_set_input(serial_line_input_byte);
serial_line_init(); serial_line_init();

View File

@ -102,7 +102,7 @@ slip_input_callback(void)
static void static void
init(void) init(void)
{ {
slip_arch_init(BAUD2UBR(115200)); slip_arch_init();
process_start(&slip_process, NULL); process_start(&slip_process, NULL);
slip_set_input_callback(slip_input_callback); slip_set_input_callback(slip_input_callback);
} }

View File

@ -103,7 +103,7 @@ slip_input_callback(void)
static void static void
init(void) init(void)
{ {
slip_arch_init(BAUD2UBR(115200)); slip_arch_init();
process_start(&slip_process, NULL); process_start(&slip_process, NULL);
slip_set_input_callback(slip_input_callback); slip_set_input_callback(slip_input_callback);
} }

View File

@ -103,7 +103,7 @@ slip_input_callback(void)
static void static void
init(void) init(void)
{ {
slip_arch_init(BAUD2UBR(115200)); slip_arch_init();
process_start(&slip_process, NULL); process_start(&slip_process, NULL);
slip_set_input_callback(slip_input_callback); slip_set_input_callback(slip_input_callback);
} }

View File

@ -94,7 +94,7 @@ slip_input_callback(void)
static void static void
init(void) init(void)
{ {
slip_arch_init(BAUD2UBR(115200)); slip_arch_init();
process_start(&slip_process, NULL); process_start(&slip_process, NULL);
slip_set_input_callback(slip_input_callback); slip_set_input_callback(slip_input_callback);
} }

View File

@ -208,7 +208,7 @@ init(void)
#ifndef BAUD2UBR #ifndef BAUD2UBR
#define BAUD2UBR(baud) baud #define BAUD2UBR(baud) baud
#endif #endif
slip_arch_init(BAUD2UBR(115200)); slip_arch_init();
process_start(&slip_process, NULL); process_start(&slip_process, NULL);
slip_set_input_callback(slip_input_callback); slip_set_input_callback(slip_input_callback);
packet_pos = 0; packet_pos = 0;

View File

@ -110,7 +110,6 @@ static void
init(void) init(void)
{ {
PRINTF("ip64-slip-interface: init\n"); PRINTF("ip64-slip-interface: init\n");
// slip_arch_init(BAUD2UBR(115200));
process_start(&slip_process, NULL); process_start(&slip_process, NULL);
slip_set_input_callback(input_callback); slip_set_input_callback(input_callback);
} }

View File

@ -117,7 +117,7 @@ PROCESS_THREAD(uip6_bridge, ev, data)
mac_ethernetSetup(); mac_ethernetSetup();
slip_arch_init(BAUD2UBR(115200)); slip_arch_init();
slip_set_input_callback(slip_activity); slip_set_input_callback(slip_activity);
slip_set_tcpip_input_callback(slip_tcpip_input); slip_set_tcpip_input_callback(slip_tcpip_input);
process_start(&slip_process, NULL); process_start(&slip_process, NULL);