mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-06-10 16:45:59 +00:00
Removed waiting forever for state transitions
This commit is contained in:
parent
1c42cf1986
commit
69ea3a5542
@ -72,8 +72,9 @@ namespace sta
|
||||
transition.event = EventFlags::NORMAL;
|
||||
transition.lockout = lockout;
|
||||
|
||||
// TODO: For how should we wait here?
|
||||
queue_.put(transition);
|
||||
// Try to add a state transition request to the queue. Don't wait if another
|
||||
// thread is already requesting a state change.
|
||||
queue_.put(transition, 0);
|
||||
}
|
||||
|
||||
void Statemachine::requestTimedStateTransition(uint32_t from, uint32_t to, uint32_t millis, uint32_t lockout /* = 0 */)
|
||||
|
Loading…
x
Reference in New Issue
Block a user