Removed explicit shut down of network driver as it easily results in endless recursions on errors while network driver initialisation.

This commit is contained in:
oliverschmidt 2007-05-23 22:01:14 +00:00
parent e9e925bc6a
commit a300c31d7e
3 changed files with 3 additions and 34 deletions

View file

@ -29,12 +29,11 @@
*
* This file is part of the Contiki desktop environment
*
* $Id: contiki-main.c,v 1.6 2007/05/22 21:27:55 oliverschmidt Exp $
* $Id: contiki-main.c,v 1.7 2007/05/23 22:03:41 oliverschmidt Exp $
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <gdk/gdktypes.h>
#include <gtk/gtk.h>
@ -124,12 +123,6 @@ idle_callback(gpointer data)
return TRUE;
}
/*-----------------------------------------------------------------------------------*/
void
exit_handler(void)
{
process_post_synch(&tapdev_process, PROCESS_EVENT_EXIT, NULL);
}
/*-----------------------------------------------------------------------------------*/
int
main(int argc, char **argv)
{
@ -166,8 +159,6 @@ main(int argc, char **argv)
uip_fw_default(&tapif);
atexit(exit_handler);
gtk_timeout_add(20, idle_callback, NULL);
gtk_main();