Replaced nasty onInsightStateChangedEvent event handler in TargetController with new GetTargetState command

This commit is contained in:
Nav
2022-04-28 21:06:57 +01:00
parent 5a8aa3d657
commit fa037a81b1
11 changed files with 40 additions and 27 deletions

View File

@@ -341,14 +341,6 @@ namespace Bloom::TargetController
*/
void onSetProgramCounterEvent(const Events::SetProgramCounterOnTarget& event);
/**
* Will automatically fire a target state update event.
* @TODO: get rid of this - Insight should request this itself.
*
* @param event
*/
void onInsightStateChangedEvent(const Events::InsightThreadStateChanged& event);
/**
* Will attempt to obtain the pin states from the target. Will emit a TargetPinStatesRetrieved event on success.
*