arduino: enlarge the stack size of the child process in the "kernel" preset template.
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 25 May 2010 16:47:26 +0000 (16:47 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 25 May 2010 16:47:26 +0000 (16:47 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3837 38d2e660-2303-0410-9eaa-f027e97ec537

boards/arduino/templates/kernel/main.c

index 6b7412a6879ad7ec97e8104be9194a37ca485b0d..b4ebd8ed9dbe7e7b7a754ee08c5752c2580ba76b 100644 (file)
@@ -94,7 +94,7 @@ int main(void)
        init();
 
        /* Create a new child process */
-       proc_new(led_process, NULL, KERN_MINSTACKSIZE, NULL);
+       proc_new(led_process, NULL, KERN_MINSTACKSIZE * 2, NULL);
 
        /*
         * The main process is kept to periodically report the stack