1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 00:05:17 +03:00

Added DEBUG information (thanks again projectkk2glider!)

Conflicts:
	radio/src/opentx.cpp
This commit is contained in:
bsongis 2014-09-05 17:03:01 +02:00
parent 500602e8cc
commit 056d915d37
7 changed files with 89 additions and 50 deletions

View file

@ -699,7 +699,8 @@ extern uint8_t flightModeTransitionLast;
#if defined(CPUARM) && !defined(SIMU)
extern unsigned char *heap;
extern int _end;
extern unsigned char *_estack;
extern int _estack;
extern int _main_stack_start;
#define getAvailableMemory() ((unsigned int)((unsigned char *)&_estack - heap))
#endif