blob: b75fe8a46483d871b739576e0f9e0344000cf7b1 (
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
31
32
33
34
|
/*
* 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;
filePos = noFilePosition;
proportionDone = 0.0;
#if SUPPORT_IOBITS
ioBits = 0;
#endif
toolNumber = -1;
}
// End
|