[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

@@ -82,7 +82,8 @@ public class SendableBuilderImpl implements NTSendableBuilder {
void update(boolean controllable, long time) {
if (controllable && m_sub != null && m_updateLocal != null) {
m_updateLocal.accept(m_sub);
} else if (m_pub != null && m_updateNetwork != null) {
}
if (m_pub != null && m_updateNetwork != null) {
m_updateNetwork.accept(m_pub, time);
}
}