Types: Use largest value in timeout as inactive hint.

This allows arbitrating to the more restrictive timeout.
Niklas Hauser 2015-11-17 16:57:46 +00:00 committed by Martin Kojtal
parent dc4cb4585c
commit a83e54c915
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ void Harness::run_next_case()
}
case_repeat_count++;
if (case_control.timeout > 0) {
if (case_control.timeout != uint32_t(-1)) {
case_timeout_handle = minar::Scheduler::postCallback(handle_timeout)
.delay(minar::milliseconds(case_control.timeout))
.getHandle();