Moves all global enums to a central file

This commit is contained in:
João Brázio
2016-07-19 14:31:09 +01:00
parent 238fefcb00
commit 3ebad4e020
10 changed files with 206 additions and 112 deletions

View File

@ -27,7 +27,7 @@
#ifndef ENDSTOPS_H
#define ENDSTOPS_H
enum EndstopEnum {X_MIN = 0, Y_MIN = 1, Z_MIN = 2, Z_MIN_PROBE = 3, X_MAX = 4, Y_MAX = 5, Z_MAX = 6, Z2_MIN = 7, Z2_MAX = 8};
#include "enum.h"
class Endstops {
@ -42,7 +42,7 @@ class Endstops {
static byte
#endif
current_endstop_bits, old_endstop_bits;
Endstops() {};
/**