From a8c35677bdd30e68cefdefd0d2830eec88748020 Mon Sep 17 00:00:00 2001 From: bg- Date: Fri, 17 Nov 2006 13:30:45 +0000 Subject: [PATCH] * Obob in cur_break initialisation. --- cpu/msp430/msp430.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/msp430/msp430.c b/cpu/msp430/msp430.c index 094fb85f1..a7a028934 100644 --- a/cpu/msp430/msp430.c +++ b/cpu/msp430/msp430.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: msp430.c,v 1.2 2006/08/11 13:41:31 bg- Exp $ + * @(#)$Id: msp430.c,v 1.3 2006/11/17 13:30:45 bg- Exp $ */ #include #include @@ -162,7 +162,7 @@ msp430_cpu_init(void) #define asmv(arg) __asm__ __volatile__(arg) #define STACK_EXTRA 32 -static char *cur_break = (char *)&__bss_end; +static char *cur_break = (char *)(&__bss_end + 1); /* * Allocate memory from the heap. Check that we don't collide with the