Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Commit

Permalink
refs #46 Update control thread use of variable registry.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoos committed Apr 10, 2016
1 parent 7b9db9a commit 5950c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/control_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ msg_t ControlThread::main() {
while(true) {
deadline += MS2ST(unit_config::DT * 1000);

loopCounter.update(loopCounter.get() + 1);
loopCounter.set(loopCounter.v() + 1);
unit.getSystem().update();

sleepUntil(deadline);
Expand Down

0 comments on commit 5950c81

Please sign in to comment.