1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

Merge pull request #8998 from kaspar030/gcoap_increase_stacksize

net/gcoap: increase stack size by sizeof(coap_pkt_t)
This commit is contained in:
Kaspar Schleiser 2018-04-23 09:43:51 +02:00 committed by GitHub
commit b4d2882c92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -410,7 +410,8 @@ extern "C" {
* @brief Stack size for module thread
*/
#ifndef GCOAP_STACK_SIZE
#define GCOAP_STACK_SIZE (THREAD_STACKSIZE_DEFAULT + DEBUG_EXTRA_STACKSIZE)
#define GCOAP_STACK_SIZE (THREAD_STACKSIZE_DEFAULT + DEBUG_EXTRA_STACKSIZE \
+ sizeof(coap_pkt_t))
#endif
/**