15 Commits (90ba77ea0fcaabe604aff9190d42595dd3bb9f2a)

Author SHA1 Message Date
etagle fb4e0b105b Fix endstops compilation error 7 years ago
Scott Lahteine 99591dc20c
Filter endstops state at all times (#11066) 7 years ago
Scott Lahteine 4c8d6df13c
Extra insurance against endstop false positives (#11013) 7 years ago
Eduardo José Tagle d3c02410a8 [2.0.x] Small assorted collection of fixes and improvements (#10911)
* Misc fixes and improvements

- Get rid of most critical sections on the Serial port drivers for AVR and DUE. Proper usage of FIFOs should allow interrupts to stay enabled without harm to queuing and dequeuing.
  Also, with 8-bit indices (for AVR) and up to 32-bit indices (for ARM), there is no need to protect reads and writes to those indices.
- Simplify the XON/XOFF logic quite a bit. Much cleaner now (both for AVR and ARM)
- Prevent a race condition (edge case) that could happen when estimating the proper value for the stepper timer (by reading it) and writing the calculated value for the time to the next ISR by disabling interrupts in those critical and small sections of the code - The problem could lead to lost steps.
- Fix dual endstops not properly homing bug (maybe).

* Set position immediately when possible
7 years ago
Scott Lahteine 7261f48872 Fix reset of endstops and move state 7 years ago
Scott Lahteine 4b2f6e3b2b
[2.0.x] Add endstop noise filter (#10796) 7 years ago
etagle 569df3fc0c Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
7 years ago
Scott Lahteine f10c87b442 Update Endstops class for 1.1.x parity 7 years ago
Scott Lahteine 2057177184 Make enums into implicit char 7 years ago
Scott Lahteine b27bc67271 Set initial endstops state 7 years ago
Scott Lahteine 723f2a77f6 Implement support for Dual X and Y endstops 7 years ago
Scott Lahteine 64dfb46461 Move z_endstop_adj to Endstops 7 years ago
Scott Lahteine 2e20c53c9d Move endstop debug to Endstops 7 years ago
Scott Lahteine 3d8a0ab4b2 Module updates 7 years ago
Scott Lahteine 0c9231fd04 Move 'module' files 7 years ago