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:
Diffstat (limited to 'src/GCodes/RestorePoint.h')
-rw-r--r--src/GCodes/RestorePoint.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/GCodes/RestorePoint.h b/src/GCodes/RestorePoint.h
index fd9ca828..129d6100 100644
--- a/src/GCodes/RestorePoint.h
+++ b/src/GCodes/RestorePoint.h
@@ -16,13 +16,15 @@
struct RestorePoint
{
- float moveCoords[MaxAxes];
- float feedRate;
- float virtualExtruderPosition;
- FilePosition filePos;
+ float moveCoords[MaxAxes]; // The axis locations when we paused
+ float feedRate; // The feed rate for the current move
+ float virtualExtruderPosition; // The virtual extruder position at the start of this move
+ float proportionDone; // How much of this move we have already done (zero unless we interrupts a move)
+ FilePosition filePos; // The file position that this move was read from
#if SUPPORT_IOBITS
- IoBits_t ioBits;
+ IoBits_t ioBits; // The output port bits setting for this move
#endif
+
RestorePoint();
void Init();
};