Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-05-05 23:53:33 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-05-05 23:53:33 +0300
commit2c1390e3fc56e231b1ad7a98542bb7eecb00d6d2 (patch)
tree98f4e23ae76157b18b8fdc1e82b2fc4c240cc882 /src/GCodes/GCodeBuffer
parent815e6239a529ed1ba367b0647c7f971bae282109 (diff)
Removed debug from the stack check
Diffstat (limited to 'src/GCodes/GCodeBuffer')
-rw-r--r--src/GCodes/GCodeBuffer/ExpressionParser.cpp2
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;