Add fan presence application framework
Add class framework for detecting fans by tach
Change-Id: I45295fd6bcd81c62cef36320dfbc4f0da6092557
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/tach_detect.cpp b/tach_detect.cpp
new file mode 100644
index 0000000..9b2ccd1
--- /dev/null
+++ b/tach_detect.cpp
@@ -0,0 +1,15 @@
+#include <vector>
+#include <sdbusplus/bus.hpp>
+
+int main(void)
+{
+ auto bus = sdbusplus::bus::new_default();
+
+ while (true)
+ {
+ // Respond to dbus signals
+ bus.process_discard();
+ bus.wait();
+ }
+ return 0;
+}