Commit Graph

2 Commits (b107aa05d30ec605586f29f776e8f11e56b853a0)

Author SHA1 Message Date
D.R.racer b107aa05d3 Add basic unit test infrastructure for application + registers 2022-08-11 08:03:22 +02:00
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