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.

This commit is contained in:
oliverschmidt 2008-02-10 19:14:48 +00:00
parent c49fdee653
commit 0e96534ca8

View File

@ -30,7 +30,7 @@
*
* Author: Oliver Schmidt <ol.sc@web.de>
*
* $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;