blob: 977730ded20048d0a99152426c5c8101fbf36542 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* RestorePoint.cpp
*
* Created on: 14 Jun 2017
* Author: David
*/
#include "RestorePoint.h"
RestorePoint::RestorePoint()
{
Init();
}
void RestorePoint::Init()
{
for (size_t i = 0; i < MaxAxes; ++i)
{
moveCoords[i] = 0.0;
}
feedRate = DefaultFeedrate * SecondsToMinutes;
virtualExtruderPosition = 0.0;
proportionDone = 0.0;
filePos = noFilePosition;
#if SUPPORT_IOBITS
ioBits = 0;
#endif
}
// End
|