diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-09-16 12:03:25 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-09-16 12:03:25 +0300 |
commit | 4babb436a52639c166952231f1dfe86f2578578f (patch) | |
tree | 5de8a259ae1528363f8cbd49fb439888322e993b /src/Endstops/EndstopsManager.h | |
parent | 6941819ed6cbce7a26e877fc118f0f8d40472901 (diff) |
Endstops and fragmented replies
More work on remote endstops
Support fragmented replies
Check we have the correct binary before sending firmware update requests to expansion boards
Diffstat (limited to 'src/Endstops/EndstopsManager.h')
-rw-r--r-- | src/Endstops/EndstopsManager.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Endstops/EndstopsManager.h b/src/Endstops/EndstopsManager.h index fc5aa8c2..b2b07274 100644 --- a/src/Endstops/EndstopsManager.h +++ b/src/Endstops/EndstopsManager.h @@ -13,6 +13,11 @@ #include "GCodes/GCodeResult.h" #include <RTOSIface/RTOSIface.h> +#if SUPPORT_CAN_EXPANSION +# include "CanId.h" +class CanMessageBuffer; +#endif + // Endstop manager class class EndstopsManager { @@ -55,6 +60,10 @@ public: void SetZProbeDefaults(); GCodeResult ProgramZProbe(GCodeBuffer& gb, const StringRef& reply); +#if SUPPORT_CAN_EXPANSION + void HandleRemoteInputChange(CanAddress src, uint8_t handleMajor, uint8_t handleMinor, bool state, CanMessageBuffer *buf); +#endif + #if HAS_MASS_STORAGE bool WriteZProbeParameters(FileStore *f, bool includingG31) const; #endif |