Welcome to mirror list, hosted at ThFree Co, Russian Federation.

RestorePoint.cpp « GCodes « src - github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 011fec02c32ed21a780dcadef638b7833e34cea7 (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
/*
 * 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;
#if SUPPORT_IOBITS
	ioBits = 0;
#endif
}

// End