Skip to content
Snippets Groups Projects
Commit 2f26f3fc authored by Ruud Overeem's avatar Ruud Overeem
Browse files

BugID: 1000

Don't change clock when PVSS clock is the same as our internal clock-var.
parent fa3f9d38
No related branches found
No related tags found
No related merge requests found
......@@ -191,9 +191,12 @@ void DigitalBoardControl::handlePropertySetAnswer(GCFEvent& answer)
}
if (strstr(pPropAnswer->pPropName, PN_SC_CLOCK) != 0) {
itsClock =(static_cast<const GCFPVInteger*>(pPropAnswer->pValue))->getValue();
int newClock = (static_cast<const GCFPVInteger*>(pPropAnswer->pValue))->getValue();
if (newClock != itsClock) {
itsClock = newClock;
LOG_DEBUG_STR("Received clock change from PVSS, clock is now " << itsClock);
sendClockSetting();
}
break;
}
LOG_WARN_STR("Got VCHANGEMSG signal from unknown property " <<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment