Skip to content

Commit

Permalink
fix: fixed laggy GUI with JLink
Browse files Browse the repository at this point in the history
  • Loading branch information
klonyyy committed Feb 18, 2024
1 parent f8f5750 commit f65dd13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/PlotHandler/PlotHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ bool PlotHandler::writeSeriesValue(Variable& var, double value)

std::string PlotHandler::getLastReaderError() const
{
/* TODO lock with timeout as we dont really care if we get it every cycle */
return varReader->getLastErrorMsg();
}

Expand Down
2 changes: 1 addition & 1 deletion src/TargetMemoryHandler/TargetMemoryHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ bool TargetMemoryHandler::setValue(const Variable& var, double value)

std::string TargetMemoryHandler::getLastErrorMsg() const
{
std::lock_guard<std::mutex> lock(mtx);
/* TODO lock with timeout as we dont really care if we get it every cycle */
return probe->getLastErrorMsg();
}

Expand Down

0 comments on commit f65dd13

Please sign in to comment.