@@ -28,6 +28,7 @@
|
|||||||
#define ENDSTOPS_H
|
#define ENDSTOPS_H
|
||||||
|
|
||||||
#include "enum.h"
|
#include "enum.h"
|
||||||
|
#include "MarlinConfig.h"
|
||||||
|
|
||||||
class Endstops {
|
class Endstops {
|
||||||
|
|
||||||
@@ -43,7 +44,15 @@ class Endstops {
|
|||||||
#endif
|
#endif
|
||||||
current_endstop_bits, old_endstop_bits;
|
current_endstop_bits, old_endstop_bits;
|
||||||
|
|
||||||
Endstops() {};
|
Endstops() {
|
||||||
|
enable_globally(
|
||||||
|
#if ENABLED(ENDSTOPS_ALWAYS_ON_DEFAULT)
|
||||||
|
true
|
||||||
|
#else
|
||||||
|
false
|
||||||
|
#endif
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the endstop pins
|
* Initialize the endstop pins
|
||||||
|
Reference in New Issue
Block a user