Added integration of shell event handler into shell server. This is obligatory for the 'ls' command to succeed.

This commit is contained in:
oliverschmidt 2007-04-13 22:47:43 +00:00
parent 94bd0de72d
commit 6e5193f303

View file

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki desktop OS. * This file is part of the Contiki desktop OS.
* *
* $Id: telnetd.c,v 1.4 2007/04/13 22:15:52 oliverschmidt Exp $ * $Id: telnetd.c,v 1.5 2007/04/13 22:47:43 oliverschmidt Exp $
* *
*/ */
@ -186,6 +186,7 @@ PROCESS_THREAD(telnetd_process, ev, data)
} else if(ev == PROCESS_EVENT_EXIT) { } else if(ev == PROCESS_EVENT_EXIT) {
telnetd_quit(); telnetd_quit();
} else { } else {
shell_eventhandler(ev, data);
#if TELNETD_CONF_GUI #if TELNETD_CONF_GUI
telnetd_gui_eventhandler(ev, data); telnetd_gui_eventhandler(ev, data);
#endif /* TELNETD_CONF_GUI */ #endif /* TELNETD_CONF_GUI */