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

PrintPausedReason.h « Platform « src - github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bdb26a44cb3d869f6c6eb87431664828d71de38d (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
/*
 * PrintPausedReason.h
 *
 *  Created on: 12 Dec 2021
 *      Author: David
 */

#ifndef SRC_PLATFORM_PRINTPAUSEDREASON_H_
#define SRC_PLATFORM_PRINTPAUSEDREASON_H_

#include <cstdint>

// The following values must be kept in sync with DSF! So don't change them unless making major changes to the SBC interface.
enum class PrintPausedReason : uint8_t
{
	dontPause = 0,						// used by RRF but not by DSF
	user = 1,
	gcode = 2,
	filamentChange = 3,
	trigger = 4,
	heaterFault = 5,
	filamentError = 6,
	stall = 7,
	lowVoltage = 8,
	driverError = 9
};

#endif /* SRC_PLATFORM_PRINTPAUSEDREASON_H_ */