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>2017-08-30 20:24:05 +0300
committerDavid Crocker <dcrocker@eschertech.com>2017-08-30 20:24:05 +0300
commit8dda9ff9fa096a9093d0c85c276c43f140267e0f (patch)
tree3a6f6281272555ee8bbf01dbcd68a1d369a2ce95 /src/Storage/FileStore.cpp
parent7df2fe5e9a3387dbe00947dffe375b6443079b94 (diff)
Version 1.19+5
Jerk is no longer applied to the boundaries between travel moves and printing moves On the Duet WiFi, the M122 report includes the network reconnect count The progress bar on PanelDue and the estimated end time based on filament usage were getting slightly ahead of the true values, especially for small gcode files Fixed a bug whereby if a move had a tiny amount of XY movement and a much larger amount of extrusion, an extrusion speed in excess of the extruder speed limit set in M203 might be used. This could also be triggered if a move that was too short to need any steps was followed by a pure extrusion move.
Diffstat (limited to 'src/Storage/FileStore.cpp')
-rw-r--r--src/Storage/FileStore.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/Storage/FileStore.cpp b/src/Storage/FileStore.cpp
index 48ef0d1a..c5642732 100644
--- a/src/Storage/FileStore.cpp
+++ b/src/Storage/FileStore.cpp
@@ -199,17 +199,6 @@ FilePosition FileStore::Length() const
return (writeBuffer != nullptr) ? file.fsize + writeBuffer->BytesStored() : file.fsize;
}
-float FileStore::FractionRead() const
-{
- FilePosition len = Length();
- if (len == 0)
- {
- return 0.0;
- }
-
- return (float)Position() / (float)len;
-}
-
// Single character read
bool FileStore::Read(char& b)
{