mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 23:54:32 +00:00
Merge pull request #346 from oliverschmidt/master
Initialize tcpip process before resolver process.
This commit is contained in:
commit
0e66cad448
@ -45,15 +45,15 @@
|
|||||||
#endif /* WITH_GUI */
|
#endif /* WITH_GUI */
|
||||||
|
|
||||||
#if WITH_DNS
|
#if WITH_DNS
|
||||||
#define RESOLV_PROCESS &resolv_process,
|
#define RESOLV_PROCESS ,&resolv_process
|
||||||
#else /* WITH_DNS */
|
#else /* WITH_DNS */
|
||||||
#define RESOLV_PROCESS
|
#define RESOLV_PROCESS
|
||||||
#endif /* WITH_DNS */
|
#endif /* WITH_DNS */
|
||||||
|
|
||||||
PROCINIT(&etimer_process,
|
PROCINIT(&etimer_process,
|
||||||
CTK_PROCESS
|
CTK_PROCESS
|
||||||
RESOLV_PROCESS
|
&tcpip_process
|
||||||
&tcpip_process);
|
RESOLV_PROCESS);
|
||||||
|
|
||||||
void clock_update(void);
|
void clock_update(void);
|
||||||
|
|
||||||
|
@ -45,15 +45,15 @@
|
|||||||
#endif /* WITH_GUI */
|
#endif /* WITH_GUI */
|
||||||
|
|
||||||
#if WITH_DNS
|
#if WITH_DNS
|
||||||
#define RESOLV_PROCESS &resolv_process,
|
#define RESOLV_PROCESS ,&resolv_process
|
||||||
#else /* WITH_DNS */
|
#else /* WITH_DNS */
|
||||||
#define RESOLV_PROCESS
|
#define RESOLV_PROCESS
|
||||||
#endif /* WITH_DNS */
|
#endif /* WITH_DNS */
|
||||||
|
|
||||||
PROCINIT(&etimer_process,
|
PROCINIT(&etimer_process,
|
||||||
CTK_PROCESS
|
CTK_PROCESS
|
||||||
RESOLV_PROCESS
|
&tcpip_process
|
||||||
&tcpip_process);
|
RESOLV_PROCESS);
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
|
@ -45,15 +45,15 @@
|
|||||||
#endif /* WITH_GUI */
|
#endif /* WITH_GUI */
|
||||||
|
|
||||||
#if WITH_DNS
|
#if WITH_DNS
|
||||||
#define RESOLV_PROCESS &resolv_process,
|
#define RESOLV_PROCESS ,&resolv_process
|
||||||
#else /* WITH_DNS */
|
#else /* WITH_DNS */
|
||||||
#define RESOLV_PROCESS
|
#define RESOLV_PROCESS
|
||||||
#endif /* WITH_DNS */
|
#endif /* WITH_DNS */
|
||||||
|
|
||||||
PROCINIT(&etimer_process,
|
PROCINIT(&etimer_process,
|
||||||
CTK_PROCESS
|
CTK_PROCESS
|
||||||
RESOLV_PROCESS
|
&tcpip_process
|
||||||
&tcpip_process);
|
RESOLV_PROCESS);
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
|
@ -47,15 +47,15 @@
|
|||||||
#endif /* WITH_GUI */
|
#endif /* WITH_GUI */
|
||||||
|
|
||||||
#if WITH_DNS
|
#if WITH_DNS
|
||||||
#define RESOLV_PROCESS &resolv_process,
|
#define RESOLV_PROCESS ,&resolv_process
|
||||||
#else /* WITH_DNS */
|
#else /* WITH_DNS */
|
||||||
#define RESOLV_PROCESS
|
#define RESOLV_PROCESS
|
||||||
#endif /* WITH_DNS */
|
#endif /* WITH_DNS */
|
||||||
|
|
||||||
PROCINIT(&etimer_process,
|
PROCINIT(&etimer_process,
|
||||||
CTK_PROCESS
|
CTK_PROCESS
|
||||||
RESOLV_PROCESS
|
&tcpip_process
|
||||||
&tcpip_process);
|
RESOLV_PROCESS);
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
|
@ -47,15 +47,15 @@
|
|||||||
#endif /* WITH_GUI */
|
#endif /* WITH_GUI */
|
||||||
|
|
||||||
#if WITH_DNS
|
#if WITH_DNS
|
||||||
#define RESOLV_PROCESS &resolv_process,
|
#define RESOLV_PROCESS ,&resolv_process
|
||||||
#else /* WITH_DNS */
|
#else /* WITH_DNS */
|
||||||
#define RESOLV_PROCESS
|
#define RESOLV_PROCESS
|
||||||
#endif /* WITH_DNS */
|
#endif /* WITH_DNS */
|
||||||
|
|
||||||
PROCINIT(&etimer_process,
|
PROCINIT(&etimer_process,
|
||||||
CTK_PROCESS
|
CTK_PROCESS
|
||||||
RESOLV_PROCESS
|
&tcpip_process
|
||||||
&tcpip_process);
|
RESOLV_PROCESS);
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user