mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
Interrupt stack size reduced to 1kB, enabled painting and display of free interrupt stack space
This commit is contained in:
parent
785a814e68
commit
a5e8c85557
8 changed files with 40 additions and 14 deletions
|
@ -99,11 +99,15 @@ uint32_t stack_free(uint32_t tid)
|
|||
stack = audioStack;
|
||||
size = AUDIO_STACK_SIZE;
|
||||
break;
|
||||
#if 0 // defined(PCBTARANIS) && !defined(SIMU)
|
||||
#if defined(PCBTARANIS)
|
||||
case 255:
|
||||
#if defined(SIMU)
|
||||
return 1024;
|
||||
#else
|
||||
// main stack
|
||||
stack = (OS_STK *)&_main_stack_start;
|
||||
size = ((unsigned char *)&_estack - (unsigned char *)&_main_stack_start) / 4;
|
||||
#endif
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue