diff --git a/cpu/msp430/watchdog.c b/cpu/msp430/watchdog.c index 0020c9bf8..6c2569d85 100644 --- a/cpu/msp430/watchdog.c +++ b/cpu/msp430/watchdog.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: watchdog.c,v 1.11 2010/10/24 21:10:25 adamdunkels Exp $ + * @(#)$Id: watchdog.c,v 1.12 2010/11/12 15:54:41 nifi Exp $ */ #include #include @@ -39,6 +39,7 @@ static int counter = 0; #define PRINT_STACK_ON_REBOOT 0 /*---------------------------------------------------------------------------*/ +#if PRINT_STACK_ON_REBOOT #ifdef CONTIKI_TARGET_SKY static void printchar(char c) @@ -66,7 +67,8 @@ printstring(char *s) printchar(*s++); } } -#endif +#endif /* CONTIKI_TARGET_SKY */ +#endif /* PRINT_STACK_ON_REBOOT */ /*---------------------------------------------------------------------------*/ interrupt(WDT_VECTOR) watchdog_interrupt(void)