This commit is contained in:
Nav
2021-09-11 20:45:26 +01:00
parent 63a080d821
commit 60df8c0d49
4 changed files with 16 additions and 17 deletions

View File

@@ -17,7 +17,7 @@ void InsightWorker::startup() {
this->eventManager.registerListener(this->eventListener);
this->eventListener->registerCallbackForEventType<Events::TargetControllerStateReported>(
std::bind(&InsightWorker::onTargetControllerStateReported, this, std::placeholders::_1)
std::bind(&InsightWorker::onTargetControllerStateReportedEvent, this, std::placeholders::_1)
);
this->eventListener->registerCallbackForEventType<Events::TargetExecutionStopped>(
@@ -125,7 +125,7 @@ void InsightWorker::onTargetRegistersWrittenEvent(const Events::RegistersWritten
emit this->targetRegistersWritten(event.descriptors);
}
void InsightWorker::onTargetControllerStateReported(const Events::TargetControllerStateReported& event) {
void InsightWorker::onTargetControllerStateReportedEvent(const Events::TargetControllerStateReported& event) {
if (this->lastTargetControllerState == TargetControllerState::ACTIVE
&& event.state == TargetControllerState::SUSPENDED
) {