Fan control: Add Manager class and fan data
Create the fan manager class.
Check in the fan zone data as a normal file. In a future commit
this will be generated during the compile. It is required now
for review and so everything compiles.
Change-Id: I5733b81db80c5e072abdbffd42e335fa46c61ef8
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/control/main.cpp b/control/main.cpp
index e332dda..08a7dc9 100644
--- a/control/main.cpp
+++ b/control/main.cpp
@@ -14,11 +14,14 @@
* limitations under the License.
*/
#include <sdbusplus/bus.hpp>
+#include "manager.hpp"
int main(int argc, char* argv[])
{
auto bus = sdbusplus::bus::new_default();
+ phosphor::fan::control::Manager manager(bus);
+
while (true)
{
bus.process_discard();