[hal] Set publish options for SmartIO mode publisher (#8096)

This commit is contained in:
Ryan Blue
2025-07-18 00:17:18 -04:00
committed by GitHub
parent 412d189507
commit fa65657746

View File

@@ -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 =