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
path: root/src/Tools
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2017-09-24 11:44:59 +0300
committerDavid Crocker <dcrocker@eschertech.com>2017-09-24 11:45:16 +0300
commit8c087526c3abec8ae7552291465062bce4c1ead8 (patch)
tree874d1419a09dfd8e75588bb5145a44723a5653e8 /src/Tools
parenta8a4d14009f2877d4e76fc7b2e23b15629db2ca6 (diff)
Version 1.20alpha4
We now create a resurrect.g file any time the print is paused Introduced new feature #defines and a DUET_06_085 define to simplify conditoinals that depend on the target board
Diffstat (limited to 'src/Tools')
-rw-r--r--src/Tools/Tool.cpp4
-rw-r--r--src/Tools/Tool.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/src/Tools/Tool.cpp b/src/Tools/Tool.cpp
index 57419f3b..230c5356 100644
--- a/src/Tools/Tool.cpp
+++ b/src/Tools/Tool.cpp
@@ -423,8 +423,6 @@ void Tool::DefineMix(const float m[])
}
}
-#ifdef DUET_NG
-
// Write the tool's settings to file returning true if successful
bool Tool::WriteSettings(FileStore *f) const
{
@@ -463,6 +461,4 @@ bool Tool::WriteSettings(FileStore *f) const
return ok;
}
-#endif
-
// End
diff --git a/src/Tools/Tool.h b/src/Tools/Tool.h
index 39e677e9..6144e5b4 100644
--- a/src/Tools/Tool.h
+++ b/src/Tools/Tool.h
@@ -69,10 +69,7 @@ public:
Filament *GetFilament() const { return filament; }
Tool *Next() const { return next; }
ToolState GetState() const { return state; }
-
-#ifdef DUET_NG
bool WriteSettings(FileStore *f) const; // write the tool's settings to file
-#endif
friend class RepRap;