diff options
Diffstat (limited to 'src/GCodes/RestorePoint.h')
-rw-r--r-- | src/GCodes/RestorePoint.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/GCodes/RestorePoint.h b/src/GCodes/RestorePoint.h new file mode 100644 index 00000000..bfc87acc --- /dev/null +++ b/src/GCodes/RestorePoint.h @@ -0,0 +1,28 @@ +/* + * RestorePoint.h + * + * Created on: 14 Jun 2017 + * Author: David + */ + +#ifndef SRC_GCODES_RESTOREPOINT_H_ +#define SRC_GCODES_RESTOREPOINT_H_ + +#include "RepRapFirmware.h" + +#if SUPPORT_IOBITS +#include "PortControl.h" +#endif + +struct RestorePoint +{ + float moveCoords[DRIVES]; + float feedRate; +#if SUPPORT_IOBITS + IoBits_t ioBits; +#endif + RestorePoint(); + void Init(); +}; + +#endif /* SRC_GCODES_RESTOREPOINT_H_ */ |