This commit is contained in:
rusefi 2020-05-03 12:40:43 -04:00
parent a1b6807e66
commit d472685c41
1 changed files with 8 additions and 3 deletions

View File

@ -687,9 +687,14 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX)
} }
// these two variables are here only to let us know how much RAM is available, also these /**
// help to notice when RAM usage goes up - if a code change adds to RAM usage these variables would fail * these two variables are here only to let us know how much RAM is available, also these
// linking process which is the way to raise the alarm * help to notice when RAM usage goes up - if a code change adds to RAM usage these variables would fail
* linking process which is the way to raise the alarm
*
* You get "cannot move location counter backwards" linker error when you run out of RAM. When you run out of RAM you shall reduce these
* UNUSED_SIZE contants.
*/
#ifndef RAM_UNUSED_SIZE #ifndef RAM_UNUSED_SIZE
#define RAM_UNUSED_SIZE 12200 #define RAM_UNUSED_SIZE 12200
#endif #endif