Prusa-Firmware-MMU/tests/unit/logic
D.R.racer ff1a89d369 Detect successful end of logic::command + start idle countdown
This commit looks horribly complex, but the main idea is to have each of the logic::commands
report their terminal OK state in the same way. That allow for leveraging this very moment
to initiate the idle timeout.

Additionally, I wanted to hide the logic of idle mode detection, which resulted in moving the
top level logic from main.cpp into logic/idle_mode.cpp and a set of additional files to compile
in unit tests.
2022-05-10 20:03:16 +02:00
..
cut_filament Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
eject_filament Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
failing_tmc Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
feed_to_bondtech Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
feed_to_finda Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
helpers Invalidate currentSlot while homing 2022-02-21 18:38:04 +01:00
homing Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
load_filament Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
stubs Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
tool_change Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
unload_filament Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
unload_to_finda Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
CMakeLists.txt Fix homing error recovery + add homing unit tests 2022-02-17 08:21:15 +01:00