Encapsulate dual Z endstop handling

This commit is contained in:
Scott Lahteine
2016-04-28 02:15:53 -07:00
parent 462a8a951e
commit 24a15332b3
2 changed files with 25 additions and 16 deletions

View File

@ -92,6 +92,12 @@ class Endstops {
volatile bool z_probe_enabled = false;
FORCE_INLINE void enable_z_probe(bool onoff=true) { z_probe_enabled = onoff; }
#endif
private:
#if ENABLED(Z_DUAL_ENDSTOPS)
void test_dual_z_endstops(EndstopEnum es1, EndstopEnum es2);
#endif
};
extern Endstops endstops;