From e2b25cb25702490e1bd8b31ce055249f0158a944 Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Mon, 10 Apr 2017 14:33:35 -0500 Subject: Fan control: Create Fan class This class contains the inventory name of the fan, and the sensor names representing the rotors. Calling setSpeed on this object will set the speed on all contained sensors. Change-Id: I850e2d69067813005270105618fcf69b04382b03 Signed-off-by: Matt Spinler --- control/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'control/Makefile.am') diff --git a/control/Makefile.am b/control/Makefile.am index adfd227..56ba948 100644 --- a/control/Makefile.am +++ b/control/Makefile.am @@ -6,10 +6,12 @@ sbin_PROGRAMS = \ phosphor_fan_control_SOURCES = \ generated.cpp \ + fan.cpp \ main.cpp \ manager.cpp phosphor_fan_control_LDADD = \ + $(top_builddir)/libfan.la \ $(SDBUSPLUS_LIBS) \ $(PHOSPHOR_LOGGING_LIBS) -- cgit v1.2.1