Add fan pwm interface target
The current daemon only supports RPM-based fan control, whereas the
hwmon interface for PWM is often present. This implements the Fan
Control PWM dbus interface.
This CL is not the complete solution, but if mixed with a follow-on CL
that does this, I think it'll be ideal. For instance, this assumes the
pwm number matches, whereas the other CL lets you specify the
corresponding PWM target for the fan.
Change-Id: I23aaa0619cdefba0a004ac0d26dc6b928e78f1e8
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/env.cpp b/env.cpp
index 48963f9..ab4b35c 100644
--- a/env.cpp
+++ b/env.cpp
@@ -16,9 +16,9 @@
#include <cstdlib>
#include <fstream>
-#include <string>
+
+#include "env.hpp"
#include "hwmon.hpp"
-#include "sensorset.hpp"
std::string getEnv(
const char* prefix, const SensorSet::key_type& sensor)