From 0e96534ca8b7cb24730b4e9a06ceca74fe35dc06 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sun, 10 Feb 2008 19:14:48 +0000 Subject: [PATCH] Now that process initialization has been changed (back) to synchronous it needs to be called after adding program handler menu items in order to preserve the the existing program handler logic. --- platform/win32/contiki-main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/win32/contiki-main.c b/platform/win32/contiki-main.c index f9675c578..54fd28011 100644 --- a/platform/win32/contiki-main.c +++ b/platform/win32/contiki-main.c @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * $Id: contiki-main.c,v 1.15 2008/02/10 11:30:41 oliverschmidt Exp $ + * $Id: contiki-main.c,v 1.16 2008/02/10 19:14:48 oliverschmidt Exp $ */ #define WIN32_LEAN_AND_MEAN @@ -92,13 +92,13 @@ main(void) procinit_init(); - autostart_start((struct process **)autostart_processes); - #ifdef PLATFORM_BUILD program_handler_add(&directory_dsc, "Directory", 1); program_handler_add(&www_dsc, "Web browser", 1); #endif /* PLATFORM_BUILD */ + autostart_start((struct process **)autostart_processes); + #if 1 { uip_ipaddr_t addr;