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:
parent
e9e925bc6a
commit
a300c31d7e
3 changed files with 3 additions and 34 deletions
|
@ -30,13 +30,12 @@
|
|||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: contiki-main.c,v 1.11 2007/05/20 21:43:21 oliverschmidt Exp $
|
||||
* $Id: contiki-main.c,v 1.12 2007/05/23 22:01:14 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "contiki-net.h"
|
||||
|
||||
|
@ -84,12 +83,6 @@ log_message(const char *part1, const char *part2)
|
|||
debug_printf("%s%s\n", part1, part2);
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
void
|
||||
exit_handler(void)
|
||||
{
|
||||
process_post_synch(&wpcap_process, PROCESS_EVENT_EXIT, NULL);
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
|
@ -100,8 +93,6 @@ main(void)
|
|||
program_handler_add(&directory_dsc, "Directory", 1);
|
||||
program_handler_add(&www_dsc, "Web browser", 1);
|
||||
|
||||
atexit(exit_handler);
|
||||
|
||||
#if 1
|
||||
{
|
||||
uip_ipaddr_t addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue