mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[hal] Set publish options for SmartIO mode publisher (#8096)
This commit is contained in:
@@ -32,7 +32,8 @@ int32_t SmartIo::InitializeMode(SmartIoMode mode) {
|
||||
auto channelString = std::to_string(channel);
|
||||
auto subTableString = "/io/" + channelString + "/";
|
||||
|
||||
modePublisher = inst.GetIntegerTopic(subTableString + "type").Publish();
|
||||
modePublisher =
|
||||
inst.GetIntegerTopic(subTableString + "type").Publish(options);
|
||||
getSubscriber =
|
||||
inst.GetIntegerTopic(subTableString + "valget").Subscribe(0, options);
|
||||
periodGetSubscriber =
|
||||
|
||||
Reference in New Issue
Block a user