Improve consistency if WITH_LOADER_ARCH is 0.
This commit is contained in:
parent
8f81934bfd
commit
2add546d00
|
@ -43,7 +43,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki desktop OS
|
* This file is part of the Contiki desktop OS
|
||||||
*
|
*
|
||||||
* $Id: program-handler.c,v 1.9 2008/02/08 22:51:57 oliverschmidt Exp $
|
* $Id: program-handler.c,v 1.10 2008/02/15 17:31:44 oliverschmidt Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -120,12 +120,6 @@ static struct ctk_label errortype =
|
||||||
static struct ctk_button errorokbutton =
|
static struct ctk_button errorokbutton =
|
||||||
{CTK_BUTTON(9, 7, 2, "Ok")};
|
{CTK_BUTTON(9, 7, 2, "Ok")};
|
||||||
|
|
||||||
#endif /* WITH_LOADER_ARCH */
|
|
||||||
|
|
||||||
PROCESS(program_handler_process, "Program handler");
|
|
||||||
|
|
||||||
AUTOSTART_PROCESSES(&program_handler_process);
|
|
||||||
|
|
||||||
static const char * const errormsgs[] = {
|
static const char * const errormsgs[] = {
|
||||||
"Ok",
|
"Ok",
|
||||||
"Read error",
|
"Read error",
|
||||||
|
@ -137,9 +131,15 @@ static const char * const errormsgs[] = {
|
||||||
"No loader"
|
"No loader"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif /* WITH_LOADER_ARCH */
|
||||||
|
|
||||||
#define LOADER_EVENT_LOAD 1
|
#define LOADER_EVENT_LOAD 1
|
||||||
#define LOADER_EVENT_DISPLAY_NAME 2
|
#define LOADER_EVENT_DISPLAY_NAME 2
|
||||||
|
|
||||||
|
PROCESS(program_handler_process, "Program handler");
|
||||||
|
|
||||||
|
AUTOSTART_PROCESSES(&program_handler_process);
|
||||||
|
|
||||||
static char *displayname;
|
static char *displayname;
|
||||||
|
|
||||||
#if CTK_CONF_SCREENSAVER
|
#if CTK_CONF_SCREENSAVER
|
||||||
|
|
Loading…
Reference in a new issue