diff options
author | David Crocker <dcrocker@eschertech.com> | 2017-12-19 20:29:58 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2017-12-19 20:30:10 +0300 |
commit | 4475f9beb2e3d83ae65cb2d8fb540f7b5842c461 (patch) | |
tree | 992c9e0632b4fb932e402b7493d1a0d6c10b5153 /src/Platform.cpp | |
parent | 0ce3b5251cfccb7a6165ce0c881e170895ea26b1 (diff) |
Version 1.20RC3+2
Changed ot C++'14 compilation mode
Re-enabled pullups on endstop inputs for Duet085 and Duet NG
Fixed M200 reporting
Fixed extruder position reporting when some axes are hidden
Diffstat (limited to 'src/Platform.cpp')
-rw-r--r-- | src/Platform.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/Platform.cpp b/src/Platform.cpp index 0eff5c5b..7dcb7d2b 100644 --- a/src/Platform.cpp +++ b/src/Platform.cpp @@ -518,15 +518,13 @@ void Platform::Init() driverState[drive] = DriverStatus::disabled; // Enable pullup resistors on endstop inputs here if necessary. -#if defined(DUET_NG) +#if defined(DUET_NG) || defined(DUET_06_085) // The Duets have hardware pullup resistors/LEDs except for the two on the CONN_LCD connector. // They have RC filtering on the main endstop inputs, so best not to enable the pullup resistors on these. - if (drive >= 10) - { - setPullup(endStopPins[drive], true); // enable pullup on CONN_LCD endstop input - } -#endif -#if defined(__RADDS__) || defined(__ALLIGATOR__) + // 2017-12-19: some users are having trouble with the endstops not being recognised in recent firmware versions. + // Probably the LED+resistor isn't pulling them up fast enough. So enable the pullup resistors again. + setPullup(endStopPins[drive], true); // enable pullup on endstop input +#elif defined(__RADDS__) || defined(__ALLIGATOR__) // I don't know whether RADDS and Alligator have hardware pullup resistors or not. I'll assume they might not. setPullup(endStopPins[drive], true); #endif |