Commit Graph

11 Commits

Author SHA1 Message Date
Yuri D'Elia
dbe2ed4150 Fix pause/resume when using M25/M601
Remove the conflicting and mostly useless card.paused flag (the printing
is either paused, or not) and switch to isPrintPaused only which
accounts for both cases (SD/USB) correctly.

Fix M27/getStatus to show the current real status of the SD print.

Synchronize the queue on M601, as required to precisely pause the print
at the correct instruction.

Alias M25 to M601, which when combined with PR #1899 fixes issue #1614.

Guard against incorrect usage in M601, M602 and M603.
2019-11-28 17:37:58 +01:00
Marek Kühn
6e26c18df4 Prusa statistics test shows only errors 2019-07-26 10:52:42 +02:00
DRracer
254dd7463b fix tests 2019-07-22 17:08:10 +02:00
Marek Kuhn
1f4542fe8b Added unit test for prusa_statistics 2019-07-16 15:41:28 +02:00
Marek Kuhn
2e25a853f4 Added prusatat test 2019-07-15 19:34:12 +02:00
Marek Bel
6d2358125a Fix Timer_test broken by conditional translation for SYSTEM_TIMER_2. 2019-01-28 19:29:31 +01:00
Marek Bel
360a977520 Fix allDepleted(). Add tests. 2019-01-04 19:34:42 +01:00
Marek Bel
d669b4e93a Fix off by one error in TimerRemaining::remaining(). Add test cases for Timer. 2018-06-12 02:24:52 +02:00
Marek Bel
490f0c9620 Store timer period in TimerRemaining. 2018-06-11 23:41:36 +02:00
Marek Bel
67356ce356 Incomplete Timer test. 2018-06-11 22:50:52 +02:00
Marek Bel
68ce375a18 Add Catch2 test framework. Add example test. Add tests build instructions. 2018-06-11 22:14:22 +02:00