Prusa-Firmware-MMU/tests/unit
Yuri D'Elia ee8c80e5c4 Motion: Panic if queue is full
If the queue is full and a new move is queued, panic!

Introduce a new error code QUEUE_FULL to help diagnose situations where
the queue is handled improperly: likely one of the state machines not
waiting for the previous actions to finish.

PulseGen::PlanMove returns a boolean if the queue cannot be moved.
We could extend this to Motion::PlanMove, however all moves would then
have to check for this. Having a global check such as this ensures
we never ignore such situation.
2021-09-02 12:00:59 +02:00
..
hal Disable preprocessor code indentation 2021-07-07 16:33:03 +02:00
logic Verify repeated calls to Step do not change from ERRTMCFailed 2021-09-02 08:35:56 +02:00
modules Motion: Panic if queue is full 2021-09-02 12:00:59 +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