mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilib] Update values on controllable sendables (#4667)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user