]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/commitdiff
Increase the task stack size
authorMichal Horn <hornmich@fel.cvut.cz>
Tue, 21 Jul 2015 13:24:29 +0000 (15:24 +0200)
committerMichal Horn <hornmich@fel.cvut.cz>
Wed, 22 Jul 2015 07:27:43 +0000 (09:27 +0200)
rpp-test-sw/cmdproc/src/cmdproc_freertos.c

index 84fd6e19c2fd31ecf2ee263b5487449e73306a76..9cc7504fbf91f5cb28c2116a1b8049d5f9ee8a1d 100644 (file)
@@ -42,7 +42,7 @@ void initCmdProc(unsigned portBASE_TYPE priority)
 {
        int taskRetVal;
 
-       if ((taskRetVal = xTaskCreate(processCmd, (const signed char *)"processCmd", 1000, NULL, priority, processCmdHandler)) != pdPASS) {
+       if ((taskRetVal = xTaskCreate(processCmd, (const signed char *)"processCmd", 6000, NULL, priority, processCmdHandler)) != pdPASS) {
                rpp_sci_printf("FreeRTOS: Creating task processCmd failed. Error code: %d", taskRetVal);
                /* An error occurred, block program */
                while (1)