Prusa-Firmware-MMU/tests/unit/logic
D.R.racer c74d418016 Invalidate Idler+Selector homing flags when Retry from ToolChange Error
If FSENSOR_DIDNT_SWITCH_ON was caused by misaligned Idler, rehoming it may fix the issue when auto retrying -> no user intervention.
So first invalidate homing flags as the user may have moved the Idler or Selector accidentally.

Beware: we may run into issues when FINDA or FSensor do not work correctly. Selector may rely on the presumed filament position and actually cut it accidentally when trying to rehome.
It is yet to be seen if something like this can actually happen.

MMU-191
2022-11-15 17:42:12 +01:00
..
cut_filament Optimise Catch2 V3 includes + fix a few cases of missing includes 2022-10-22 15:41:44 +02:00
eject_filament Optimise Catch2 V3 includes + fix a few cases of missing includes 2022-10-22 15:41:44 +02:00
failing_tmc Optimise Catch2 V3 includes + fix a few cases of missing includes 2022-10-22 15:41:44 +02:00
feed_to_bondtech Optimise Catch2 V3 includes + fix a few cases of missing includes 2022-10-22 15:41:44 +02:00
feed_to_finda Optimise Catch2 V3 includes + fix a few cases of missing includes 2022-10-22 15:41:44 +02:00
helpers Invalidate currentSlot while homing 2022-02-21 18:38:04 +01:00
homing Optimise Catch2 V3 includes + fix a few cases of missing includes 2022-10-22 15:41:44 +02:00
load_filament Generate exactly 1 userInput event when button pressed (and held) 2022-11-15 07:19:20 +01:00
stubs Optimise Catch2 V3 includes + fix a few cases of missing includes 2022-10-22 15:41:44 +02:00
tool_change Invalidate Idler+Selector homing flags when Retry from ToolChange Error 2022-11-15 17:42:12 +01:00
unload_filament Generate exactly 1 userInput event when button pressed (and held) 2022-11-15 07:19:20 +01:00
unload_to_finda Optimise Catch2 V3 includes + fix a few cases of missing includes 2022-10-22 15:41:44 +02:00
CMakeLists.txt Fix homing error recovery + add homing unit tests 2022-02-17 08:21:15 +01:00