AnHardt / Marlin

Reprap FW with look ahead. SDcard and LCD support. It works on Gen6, Ultimaker, RAMPS and Sanguinololu
GNU General Public License v3.0
1 stars 1 forks source link

Endstop setup/test #15

Closed AnHardt closed 8 years ago

AnHardt commented 8 years ago

Simplify to disable endstops switch by switch. Add configurable endstop test during boot time. Test if two endstops on an axis are triggered at the same time. Test if a triggered endstop can be freed.

Adressing: https://github.com/MarlinFirmware/Marlin/issues/2965, https://github.com/MarlinFirmware/Marlin/issues/2946, https://github.com/MarlinFirmware/Marlin/issues/2947. The test uses: ~686 byte with no disabled endstops. ~457 byte with the more typical 3 endstops By the way. Every disabled endstop saves ~287 bytes without the tests, ~308 with the tests.