From 9693117e57783573e7377ad7ddda0bb49e3a1893 Mon Sep 17 00:00:00 2001 From: Kurt Biery Date: Thu, 3 Jul 2025 11:47:48 -0500 Subject: [PATCH] Added the timesync input connection to the Fake HSI object in the FakeHSIApplication, so that it can correctly appear in our configuration diagrams and other diagnostic tools. --- src/FakeHSIApplication.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/FakeHSIApplication.cpp b/src/FakeHSIApplication.cpp index f6b6fce7..5002f018 100644 --- a/src/FakeHSIApplication.cpp +++ b/src/FakeHSIApplication.cpp @@ -159,6 +159,10 @@ FakeHSIApplication::generate_modules(const confmodel::Session* session) const obj_fac.create("FakeHSIEventGeneratorModule", genuid); fakehsiObj.set_obj("configuration", &rdrConf->config_object()); fakehsiObj.set_objs("outputs", { &queueObj, &hsiNetObj }); + if (tsNetDesc != nullptr) { + conffwk::ConfigObject tsNetObjIn = obj_fac.create_net_obj(tsNetDesc, ".*"); + fakehsiObj.set_objs("inputs", { &tsNetObjIn }); + } modules.push_back(obj_fac.get_dal(genuid));