[wpilib] Update values on controllable sendables (#4667)

This commit is contained in:
Peter Johnson
2022-11-18 23:50:41 -08:00
committed by GitHub
parent 5ec067c1f8
commit cf8faa9e67
2 changed files with 4 additions and 2 deletions

View File

@@ -26,7 +26,8 @@ void SendableBuilderImpl::PropertyImpl<Topic>::Update(bool controllable,
int64_t time) {
if (controllable && sub && updateLocal) {
updateLocal(sub);
} else if (pub && updateNetwork) {
}
if (pub && updateNetwork) {
updateNetwork(pub, time);
}
}