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>2018-04-03 16:26:56 +0300
committerDavid Crocker <dcrocker@eschertech.com>2018-04-03 16:26:56 +0300
commit8f3f4431bc6db2405e82883323c64d80d07cdd87 (patch)
tree28666967f09d7a6756cb7d3feb85ce50b14030a4 /src/Scanner.cpp
parent7e12acb1d004ea91373d2e90b9aaee584a19d98b (diff)
Network now a separate task
The Network module is now a separate task Reduced network buffers from 8 to 6 to free up RAM FileInfoParser has its own buffer to save allocating them on multiple stacks Got rid of longWait and ClassReport
Diffstat (limited to 'src/Scanner.cpp')
-rw-r--r--src/Scanner.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Scanner.cpp b/src/Scanner.cpp
index 91c1ceea..919151ab 100644
--- a/src/Scanner.cpp
+++ b/src/Scanner.cpp
@@ -23,8 +23,6 @@ const char* const CALIBRATE_POST_G = "calibrate_post.g";
void Scanner::Init()
{
- longWait = millis();
-
enabled = false;
SetState(ScannerState::Disconnected);
bufferPointer = 0;
@@ -67,7 +65,6 @@ void Scanner::Spin()
// Is the 3D scanner extension enabled at all and is a device registered?
if (!IsEnabled() || state == ScannerState::Disconnected)
{
- platform.ClassReport(longWait);
return;
}
@@ -91,7 +88,6 @@ void Scanner::Spin()
SetState(ScannerState::Disconnected);
// Cannot do anything else...
- platform.ClassReport(longWait);
return;
}
@@ -226,8 +222,6 @@ void Scanner::Spin()
}
break;
}
-
- platform.ClassReport(longWait);
}
// Process incoming commands from the scanner board