TransportFSM: set _last_locate when doing an interrupted locate
This commit is contained in:
parent
ab6a1d062d
commit
ef4d825232
@ -198,7 +198,7 @@ struct TransportFSM
|
||||
void process_events ();
|
||||
bool process_event (Event&, bool was_deferred, bool& deferred);
|
||||
|
||||
Event _last_locate;
|
||||
mutable Event _last_locate;
|
||||
Event last_speed_request;
|
||||
|
||||
TransportAPI* api;
|
||||
|
@ -557,6 +557,7 @@ TransportFSM::interrupt_locate (Event const & l) const
|
||||
/* maintain original "with-roll" choice of initial locate, even though
|
||||
* we are interrupting the locate to start a new one.
|
||||
*/
|
||||
_last_locate = l;
|
||||
api->locate (l.target, false, l.with_flush, l.for_loop_end, l.force);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user