diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-05-05 23:53:33 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-05-05 23:53:33 +0300 |
commit | 2c1390e3fc56e231b1ad7a98542bb7eecb00d6d2 (patch) | |
tree | 98f4e23ae76157b18b8fdc1e82b2fc4c240cc882 /src/GCodes/GCodeBuffer | |
parent | 815e6239a529ed1ba367b0647c7f971bae282109 (diff) |
Removed debug from the stack check
Diffstat (limited to 'src/GCodes/GCodeBuffer')
-rw-r--r-- | src/GCodes/GCodeBuffer/ExpressionParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodeBuffer/ExpressionParser.cpp b/src/GCodes/GCodeBuffer/ExpressionParser.cpp index 6b9101ea..2a536da1 100644 --- a/src/GCodes/GCodeBuffer/ExpressionParser.cpp +++ b/src/GCodes/GCodeBuffer/ExpressionParser.cpp @@ -1234,7 +1234,7 @@ void ExpressionParser::CheckStack(uint32_t calledFunctionStackUsage) const THROW { register const char * stackPtr asm ("sp"); const char *stackLimit = (const char*)TaskBase::GetCallerTaskHandle() + sizeof(TaskBase); - debugPrintf("Margin: %u\n", stackPtr - stackLimit); + //debugPrintf("Margin: %u\n", stackPtr - stackLimit); if (stackLimit + calledFunctionStackUsage + (StackUsage::Throw + StackUsage::Margin) <= stackPtr) { return; |