Can someone point me out an appropriate entry code for this task in Marlin source code?
Apparently, given one
- has already enabled
<AXIS> = XMIN) in Marlin's
- one can add an additional
- make this block the
elsestatement in an
<AXIS>_ENDSTOP_CUSTOMexistence check, with the positive case being your arbitrary task.
The function that gets executed in the standard case in the linked block is
PROCESS_ENDSTOP, so cloning it would be a good starting point to make a
PROCESS_ENDSTOP_CUSTOM task, too.