Prusa-Firmware-MMU/tests/unit
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
..
hal Fix unit tests 2022-05-10 20:03:16 +02:00
logic Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
modules Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
CMakeLists.txt Make motion::QueueEmpty inline for non-UNITTEST builds 2021-09-02 08:35:56 +02:00
system_test.cpp Remove invalid/useless test sizeof(ptr) == 4 2021-06-29 08:59:36 +02:00
test_main.cpp Add first unit test 2021-05-13 17:35:08 +02:00