mirror of https://github.com/ARMmbed/mbed-os.git
Corrected main thread stack size, was accidently updated by removing condition
Main thread stack size is reduced for TARGET_STM32F070RB and TARGET_STM32F072RB, in recent update to mbed_rtx.h the conditional check for main thread size update was removed.pull/9571/head
parent
e7e9e0734c
commit
9231e26f3f
|
@ -130,9 +130,11 @@
|
||||||
|
|
||||||
#endif // INITIAL_SP
|
#endif // INITIAL_SP
|
||||||
|
|
||||||
|
#if (defined(TARGET_STM32F070RB) || defined(TARGET_STM32F072RB))
|
||||||
#ifdef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
|
#ifdef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
|
||||||
#undef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
|
#undef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE
|
||||||
#endif
|
#endif
|
||||||
#define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE 3072
|
#define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE 3072
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // MBED_MBED_RTX_H
|
#endif // MBED_MBED_RTX_H
|
||||||
|
|
Loading…
Reference in New Issue