Allow to optionally (triggered with SELFSTART_PROCESS) self start the application.

This commit is contained in:
oliverschmidt 2008-02-07 16:28:11 +00:00
parent 155a27ff59
commit 0a8f384a40
13 changed files with 64 additions and 12 deletions

View file

@ -29,7 +29,7 @@
*
* This file is part of the Contiki desktop environment for the C64.
*
* $Id: webserver.c,v 1.3 2007/04/23 21:19:55 oliverschmidt Exp $
* $Id: webserver.c,v 1.4 2008/02/07 16:32:11 oliverschmidt Exp $
*
*/
@ -51,6 +51,10 @@ static struct ctk_label message =
PROCESS(webserver_process, "Web server");
#if SELFSTART_PROCESS
AUTOSTART_PROCESSES(&webserver_process);
#endif /* SELFSTART_PROCESS */
#define LOG_WIDTH 38
#define LOG_HEIGHT 16
static char log[LOG_WIDTH*LOG_HEIGHT];