mirror of https://github.com/ARMmbed/mbed-os.git
Types: Use largest value in timeout as inactive hint.
This allows arbitrating to the more restrictive timeout.
parent
dc4cb4585c
commit
a83e54c915
|
@ -198,7 +198,7 @@ void Harness::run_next_case()
|
||||||
}
|
}
|
||||||
case_repeat_count++;
|
case_repeat_count++;
|
||||||
|
|
||||||
if (case_control.timeout > 0) {
|
if (case_control.timeout != uint32_t(-1)) {
|
||||||
case_timeout_handle = minar::Scheduler::postCallback(handle_timeout)
|
case_timeout_handle = minar::Scheduler::postCallback(handle_timeout)
|
||||||
.delay(minar::milliseconds(case_control.timeout))
|
.delay(minar::milliseconds(case_control.timeout))
|
||||||
.getHandle();
|
.getHandle();
|
||||||
|
|
Loading…
Reference in New Issue