prusa3d / Prusa-Firmware-MMU

Other
32 stars 15 forks source link

Report Selector refused to move as FINDA_DIDNT_SWITCH_OFF #239

Closed DRracer closed 1 year ago

DRracer commented 1 year ago

In case of FINDA flickering, the selector might have refused to move to a new position. However, surrounding code was expecting, that the selector accepted the request. Surrounding code was waiting for the selector performing a task which never started -> nice "deadlock".

This is now fixed, or at least worked around. In case the selector refuses to move, an error of FINDA_DIDNT_SWITCH_OFF is raised. It may be a bit counter intuitive at first, but it describes the real problem well.

MMU-176