diff options
Diffstat (limited to 'sensors/builder.cpp')
-rw-r--r-- | sensors/builder.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sensors/builder.cpp b/sensors/builder.cpp index 1a74adb..f5c01b3 100644 --- a/sensors/builder.cpp +++ b/sensors/builder.cpp @@ -38,9 +38,10 @@ static constexpr bool deferSignals = true; static DbusHelper helper; SensorManager - buildSensors(const std::map<std::string, struct conf::SensorConfig>& config) + buildSensors(const std::map<std::string, struct conf::SensorConfig>& config, + sdbusplus::bus::bus& passive, sdbusplus::bus::bus& host) { - SensorManager mgmr; + SensorManager mgmr(passive, host); auto& hostSensorBus = mgmr.getHostBus(); auto& passiveListeningBus = mgmr.getPassiveBus(); |